Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for elem1 (0.04 sec)

  1. android/guava/src/com/google/common/collect/Sets.java

                while (itr1.hasNext()) {
                  E elem1 = itr1.next();
                  if (!set2.contains(elem1)) {
                    return elem1;
                  }
                }
                while (itr2.hasNext()) {
                  E elem2 = itr2.next();
                  if (!set1.contains(elem2)) {
                    return elem2;
                  }
                }
                return endOfData();
              }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 77.3K bytes
    - Viewed (0)
  2. 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)
  3. callbacks/preload.go

    	}
    
    	for i := 0; i < reflectResults.Len(); i++ {
    		elem := reflectResults.Index(i)
    		for idx, field := range relForeignFields {
    			fieldValues[idx], _ = field.ValueOf(tx.Statement.Context, elem)
    		}
    
    		datas, ok := identityMap[utils.ToStringKey(fieldValues...)]
    		if !ok {
    			return fmt.Errorf("failed to assign association %#v, make sure foreign fields exists", elem.Interface())
    		}
    
    		for _, data := range datas {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:52:33 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/xla_broadcast.mlir

      // CHECK:      %[[ELEM_1:.*]] = "tf.Const"()
      // CHECK:      {ici_weight_distribution_mlir_bridge_marker = true}
      // CHECK-NEXT: %[[SHAPE_1:.*]] = "tf.Const"()
      // CHECK:      {ici_weight_distribution_mlir_bridge_marker = true}
      // CHECK-NEXT: %[[FULL_1:.*]] = "tf.Fill"(%[[SHAPE_1]], %[[ELEM_1]]) {ici_weight_distribution_mlir_bridge_marker = true}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 18:52:07 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache.go

    		return fmt.Errorf("couldn't compute key: %v", err)
    	}
    	elem := &storeElement{Key: key, Object: event.Object}
    	elem.Labels, elem.Fields, err = w.getAttrsFunc(event.Object)
    	if err != nil {
    		return err
    	}
    
    	wcEvent := &watchCacheEvent{
    		Type:            event.Type,
    		Object:          elem.Object,
    		ObjLabels:       elem.Labels,
    		ObjFields:       elem.Fields,
    		Key:             key,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 10:20:57 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache_interval.go

    	for i, item := range allItems {
    		elem, ok := item.(*storeElement)
    		if !ok {
    			return nil, fmt.Errorf("not a storeElement: %v", elem)
    		}
    		objLabels, objFields, err := getAttrsFunc(elem.Object)
    		if err != nil {
    			return nil, err
    		}
    		buffer.buffer[i] = &watchCacheEvent{
    			Type:            watch.Added,
    			Object:          elem.Object,
    			ObjLabels:       objLabels,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/internal/typeparams/coretype.go

    	for chans := identical; chans < len(terms); chans++ {
    		curr, ok := terms[chans].Type().Underlying().(*types.Chan)
    		if !ok {
    			return nil
    		}
    		if !types.Identical(ch.Elem(), curr.Elem()) {
    			return nil // channel elements are not identical.
    		}
    		if ch.Dir() == types.SendRecv {
    			// ch is bidirectional. We can safely always use curr's direction.
    			ch = curr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/internal/analysisinternal/analysis.go

    		default:
    			return ast.NewIdent(t.Name())
    		}
    	case *types.Pointer:
    		x := TypeExpr(f, pkg, t.Elem())
    		if x == nil {
    			return nil
    		}
    		return &ast.UnaryExpr{
    			Op: token.MUL,
    			X:  x,
    		}
    	case *types.Array:
    		elt := TypeExpr(f, pkg, t.Elem())
    		if elt == nil {
    			return nil
    		}
    		return &ast.ArrayType{
    			Len: &ast.BasicLit{
    				Kind:  token.INT,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/syntax/positions.go

    		case *ListExpr:
    			if l := lastExpr(n.ElemList); l != nil {
    				m = l
    				continue
    			}
    			return n.Pos()
    
    		// types
    		case *ArrayType:
    			m = n.Elem
    		case *SliceType:
    			m = n.Elem
    		case *DotsType:
    			m = n.Elem
    		case *StructType:
    			if l := lastField(n.FieldList); l != nil {
    				m = l
    				continue
    			}
    			return n.Pos()
    			// TODO(gri) need to take TagList into account
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 17:49:19 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache_interval_test.go

    	for i := 0; i < numEvents; i++ {
    		elem := makeTestStoreElement(makeTestPod(fmt.Sprintf("pod%d", i), uint64(i)))
    		objLabels, objFields, err := getAttrsFunc(elem.Object)
    		if err != nil {
    			t.Fatal(err)
    		}
    		events[elem.Key] = &watchCacheEvent{
    			Type:            watch.Added,
    			Object:          elem.Object,
    			ObjLabels:       objLabels,
    			ObjFields:       objFields,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 11.6K bytes
    - Viewed (0)
Back to top