Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 224 for nelem (0.09 sec)

  1. src/syscall/mkerrors.sh

    }
    
    int
    main(void)
    {
    	int i, j, e;
    	char buf[1024], *p;
    
    	printf("\n\n// Error table\n");
    	printf("var errors = [...]string {\n");
    	qsort(errors, nelem(errors), sizeof errors[0], intcmp);
    	for(i=0; i<nelem(errors); i++) {
    		e = errors[i];
    		if(i > 0 && errors[i-1] == e)
    			continue;
    		strcpy(buf, strerror(e));
    		// lowercase first letter: Bad -> bad, but STREAM -> STREAM.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 06 21:22:22 UTC 2022
    - 10.7K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/mkerrors.sh

    	printf("var errorList = [...]struct {\n");
    	printf("\tnum  syscall.Errno\n");
    	printf("\tname string\n");
    	printf("\tdesc string\n");
    	printf("} {\n");
    	qsort(errors, nelem(errors), sizeof errors[0], tuplecmp);
    	for(i=0; i<nelem(errors); i++) {
    		e = errors[i].num;
    		if(i > 0 && errors[i-1].num == e)
    			continue;
    		strncpy(buf, strerror(e), sizeof(buf) - 1);
    		buf[sizeof(buf) - 1] = '\0';
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  3. src/embed/embed.go

    	//	q/s/u
    	//	q/v
    	//	w
    	//
    	// is actually sorted as:
    	//
    	//	p       # dir=.    elem=p
    	//	q/      # dir=.    elem=q
    	//	w/      # dir=.    elem=w
    	//	q/r     # dir=q    elem=r
    	//	q/s/    # dir=q    elem=s
    	//	q/v     # dir=q    elem=v
    	//	q/s/t   # dir=q/s  elem=t
    	//	q/s/u   # dir=q/s  elem=u
    	//
    	// This order brings directory contents together in contiguous sections
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 19:42:51 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  4. src/runtime/mgcsweep.go

    		// more detail.
    		print("runtime: nelems=", s.nelems, " nalloc=", nalloc, " previous allocCount=", s.allocCount, " nfreed=", nfreed, "\n")
    		throw("sweep increased allocation count")
    	}
    
    	s.allocCount = nalloc
    	s.freeindex = 0 // reset allocation index to start of span.
    	s.freeIndexForScan = 0
    	if traceEnabled() {
    		getg().m.p.ptr().trace.reclaimed += uintptr(nfreed) * s.elemsize
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:52:18 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  5. pkg/config/schema/collections/collections.gen.go

    			"v1",
    		},
    		Proto: "istio.security.v1beta1.AuthorizationPolicy", StatusProto: "istio.meta.v1alpha1.IstioStatus",
    		ReflectType: reflect.TypeOf(&istioioapisecurityv1beta1.AuthorizationPolicy{}).Elem(), StatusType: reflect.TypeOf(&istioioapimetav1alpha1.IstioStatus{}).Elem(),
    		ProtoPackage: "istio.io/api/security/v1beta1", StatusPackage: "istio.io/api/meta/v1alpha1",
    		ClusterScoped: false,
    		Synthetic:     false,
    		Builtin:       false,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  6. pkg/config/schema/collections/collections.agent.gen.go

    			"v1",
    		},
    		Proto: "istio.security.v1beta1.AuthorizationPolicy", StatusProto: "istio.meta.v1alpha1.IstioStatus",
    		ReflectType: reflect.TypeOf(&istioioapisecurityv1beta1.AuthorizationPolicy{}).Elem(), StatusType: reflect.TypeOf(&istioioapimetav1alpha1.IstioStatus{}).Elem(),
    		ProtoPackage: "istio.io/api/security/v1beta1", StatusPackage: "istio.io/api/meta/v1alpha1",
    		ClusterScoped: false,
    		Synthetic:     false,
    		Builtin:       false,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  7. scan.go

    				if !update {
    					if !isPtr {
    						elem = elem.Elem()
    					}
    					if isArrayKind {
    						if reflectValue.Len() >= int(db.RowsAffected) {
    							reflectValue.Index(int(db.RowsAffected - 1)).Set(elem)
    						}
    					} else {
    						reflectValue = reflect.Append(reflectValue, elem)
    					}
    				}
    			}
    
    			if !update {
    				db.Statement.ReflectValue.Set(reflectValue)
    			}
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:57:36 UTC 2024
    - 10K bytes
    - Viewed (0)
  8. callbacks/associations.go

    						for i := 0; i < f.Len(); i++ {
    							elem := f.Index(i)
    							if !isPtr {
    								elem = elem.Addr()
    							}
    							objs = append(objs, v)
    							elems = reflect.Append(elems, elem)
    
    							relPrimaryValues := make([]interface{}, 0, len(rel.FieldSchema.PrimaryFields))
    							for _, pf := range rel.FieldSchema.PrimaryFields {
    								if pfv, ok := pf.ValueOf(db.Statement.Context, elem); !ok {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Tue Apr 11 03:06:13 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  9. src/go/types/subst.go

    			return subst.check.newAliasInstance(subst.pos, t.orig, targs, subst.ctxt)
    		}
    
    	case *Array:
    		elem := subst.typOrNil(t.elem)
    		if elem != t.elem {
    			return &Array{len: t.len, elem: elem}
    		}
    
    	case *Slice:
    		elem := subst.typOrNil(t.elem)
    		if elem != t.elem {
    			return &Slice{elem: elem}
    		}
    
    	case *Struct:
    		if fields, copied := subst.varList(t.fields); copied {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:04:07 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/stack_ops_decomposition.mlir

        // CHECK: "tf.AssignVariableOp"(%[[BUFFER]], %[[UPDATE]])
        // CHECK: "tf.AssignVariableOp"(%[[SIZE]]
         %push = "tf.StackPushV2"(%stack, %elem) {swap_memory = false} : (tensor<!tf_type.resource>, tensor<f32>) -> tensor<f32>
        "tf.Yield"(%elem) : (tensor<f32>) -> ()
      }, {
        %elem = "tf._SomeOtherOp"() : () -> tensor<f32>
        // CHECK-NOT: tf.StackPushV2
        // CHECK: %[[BUFFER_VAL:.*]] = "tf.ReadVariableOp"(%[[BUFFER]])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 25.8K bytes
    - Viewed (0)
Back to top