Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 863 for elim (0.04 sec)

  1. test/typeparam/orderedmap.go

    // the receiver stops reading them.
    func _Ranger[Elem any]() (*_Sender[Elem], *_Receiver[Elem]) {
    	c := make(chan Elem)
    	d := make(chan struct{})
    	s := &_Sender[Elem]{
    		values: c,
    		done:   d,
    	}
    	r := &_Receiver[Elem]{
    		values: c,
    		done:   d,
    	}
    	runtime.SetFinalizer(r, (*_Receiver[Elem]).finalize)
    	return s, r
    }
    
    // A _Sender is used to send values to a Receiver.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. src/internal/reflectlite/set_test.go

    func (mapError) Error() string { return "mapError" }
    
    var _ error = mapError{}
    var _ error = new(mapError)
    
    func TestImplements(t *testing.T) {
    	for _, tt := range implementsTests {
    		xv := TypeOf(tt.x).Elem()
    		xt := TypeOf(tt.t).Elem()
    		if b := xv.Implements(xt); b != tt.b {
    			t.Errorf("(%s).Implements(%s) = %v, want %v", TypeString(xv), TypeString(xt), b, tt.b)
    		}
    	}
    }
    
    var assignableTests = []struct {
    	x any
    	t any
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  5. 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)
  6. src/runtime/runtime-gdb.py

    		return 'array'
    
    	def to_string(self):
    		return str(self.val.type)
    
    	def children(self):
    		# see chan.c chanbuf(). et is the type stolen from hchan<T>::recvq->first->elem
    		et = [x.type for x in self.val['recvq']['first'].type.target().fields() if x.name == 'elem'][0]
    		ptr = (self.val.address["buf"]).cast(et)
    		for i in range(self.val["qcount"]):
    			j = (self.val["recvx"] + i) % self.val["dataqsiz"]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 10 12:59:20 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  7. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/CCompilerDetectingTestApp.groovy

                        printf("clang");
                    #elif defined(__GNUC__) && defined(__MINGW32__)
                        printf("mingw");
                    #elif defined(__GNUC__) && defined(__CYGWIN__)
                        printf("gcc cygwin");
                    #elif defined(__GNUC__)
                        printf("gcc");
                    #elif defined(_MSC_VER)
                        printf("visual c++");
                    #else
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/CppCompilerDetectingTestApp.groovy

                        printf("clang");
                    #elif defined(__GNUC__) && defined(__MINGW32__)
                        printf("mingw");
                    #elif defined(__GNUC__) && defined(__CYGWIN__)
                        printf("gcc cygwin");
                    #elif defined(__GNUC__)
                        printf("gcc");
                    #elif defined(_MSC_VER)
                        printf("visual c++");
                    #else
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  9. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/PlatformDetectingTestApp.groovy

        cout << "amd64";
        #elif defined(__i386) || defined(_M_IX86)
        cout << "i386";
        #elif defined(_M_IA64)
        cout << "itanium";
        #else
        cout << "unknown";
        #endif
        cout << " ";
    
        #if defined(__linux__)
        cout << "linux";
        #elif defined(__APPLE__) && defined(__MACH__)
        cout << "os x";
        #elif defined(_WIN32) || defined (_WIN64) || defined (__CYGWIN__)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/walk/temp.go

    // allocated temporary variable of type [len]elem. This variable is
    // initialized, and elem must not contain pointers.
    func stackBufAddr(len int64, elem *types.Type) *ir.AddrExpr {
    	if elem.HasPointers() {
    		base.FatalfAt(base.Pos, "%v has pointers", elem)
    	}
    	tmp := typecheck.TempAt(base.Pos, ir.CurFunc, types.NewArray(elem, len))
    	return typecheck.Expr(typecheck.NodAddr(tmp)).(*ir.AddrExpr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 16:41:23 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top