代码搜索:Assignment
找到约 8,196 项符合「Assignment」的源代码
代码结果 8,196
www.eeworm.com/read/440906/1775251
c typedef1.c
// Build don't link:
typedef const struct {
int x;
} Test;
static void foo(Test);
static void foo(Test t)
{
t.x = 0; // ERROR - assignment of read-only member
return;
}
www.eeworm.com/read/440906/1777717
c 900324_05.c
// g++ 1.37.1 bug 900324_05
// The following erroneous code causes g++ to segfault.
// Cfront 2.0 passes this test.
// keywords: segfault, arrays, references, assignment operator=
typedef int int_
www.eeworm.com/read/438251/1826734
java datashapeaction.java
package prefuse.action.assignment;
import java.util.Map;
import prefuse.Constants;
import prefuse.data.tuple.TupleSet;
import prefuse.util.DataLib;
import prefuse.visual.VisualItem;
/**
www.eeworm.com/read/438251/1826738
java shapeaction.java
package prefuse.action.assignment;
import java.util.logging.Logger;
import prefuse.Constants;
import prefuse.action.EncoderAction;
import prefuse.data.expression.Predicate;
import prefuse.dat
www.eeworm.com/read/409921/2219417
h rterror.h
/* rterror.h */
#ifndef __CRT_INTERNAL_RTERROR_H
#define __CRT_INTERNAL_RTERROR_H
#define _RT_STACK 0 /* stack overflow */
#define _RT_NULLPTR 1 /* null pointer assignment */
www.eeworm.com/read/371561/2779552
java floattest.java
class FloatTest {
public static void main(String args[]){
float floatSample[][] = new float[2][3];
System.out.println("Before assignment!\n");
for(int i=0;i
www.eeworm.com/read/369339/2801180
c c05.c
#
#include "c0h.c"
/*
* info on operators:
* 01-- is binary operator
* 02-- left (or only) operand must be lvalue
* 04-- is relational operator
* 010-- is assignment-type operator
* 020
www.eeworm.com/read/366702/2871689
c 900324_05.c
// { dg-do assemble }
// g++ 1.37.1 bug 900324_05
// The following erroneous code causes g++ to segfault.
// Cfront 2.0 passes this test.
// keywords: segfault, arrays, references, assignment oper
www.eeworm.com/read/366702/2876612
f90 parens_1.f90
! PR 20894
! { dg-do compile }
! Originally contributed by Joost VandeVondele
INTEGER, POINTER :: I,J
INTEGER :: K
ALLOCATE(I)
J=>(I) ! { dg-error "Pointer assignment target is neither TARGET nor PO
www.eeworm.com/read/366702/2883321
c ssa-dse-4.c
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-dse1" } */
foo( int *a)
{
*a = 5;
*a = 3;
}
/* We should eliminate the first assignment to *p, but not the second. */
/* { dg-final {