Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 250 for copied32 (0.31 sec)

  1. test/copy.go

    	}
    	// before
    	var i int
    	for i = 0; i < out; i++ {
    		if output32[i] != u32(i+13) {
    			bad32("before32", i, length, in, out)
    			return
    		}
    	}
    	// copied part
    	for ; i < out+n; i++ {
    		if output32[i] != u32(i+in-out) {
    			bad32("copied32", i, length, in, out)
    			return
    		}
    	}
    	// after
    	for ; i < len(output32); i++ {
    		if output32[i] != u32(i+13) {
    			bad32("after32", i, length, in, out)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 12 18:17:49 UTC 2013
    - 6.6K bytes
    - Viewed (0)
  2. pilot/pkg/networking/util/fuzz_test.go

    		empty2 := &networking.TrafficPolicy{}
    		copied = mergeTrafficPolicy(empty2, copied, true)
    		assert.Equal(fg.T(), copyFrom, copied)
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 20:32:49 UTC 2024
    - 1.8K bytes
    - Viewed (1)
  3. src/archive/tar/stat_unix.go

    		case "linux":
    			// Copied from golang.org/x/sys/unix/dev_linux.go.
    			major := uint32((dev & 0x00000000000fff00) >> 8)
    			major |= uint32((dev & 0xfffff00000000000) >> 32)
    			minor := uint32((dev & 0x00000000000000ff) >> 0)
    			minor |= uint32((dev & 0x00000ffffff00000) >> 12)
    			h.Devmajor, h.Devminor = int64(major), int64(minor)
    		case "darwin", "ios":
    			// Copied from golang.org/x/sys/unix/dev_darwin.go.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 16:01:50 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. src/sync/cond.go

    func (c *copyChecker) check() {
    	// Check if c has been copied in three steps:
    	// 1. The first comparison is the fast-path. If c has been initialized and not copied, this will return immediately. Otherwise, c is either not initialized, or has been copied.
    	// 2. Ensure c is initialized. If the CAS succeeds, we're done. If it fails, c was either initialized concurrently and we simply lost the race, or c has been copied.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. pkg/apis/flowcontrol/v1beta3/conversion.go

    	//  - remove the roundtrip annotation for the 'NominalConcurrencyShares' field
    	//  - make sure we don't mutate the source (v1beta3) object's annotations
    	annotations, copied := dropPriorityLevelConcurrencyShareDefaultAnnotation(out.ObjectMeta.Annotations)
    	if copied {
    		out.ObjectMeta.Annotations = annotations
    	}
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 22:22:51 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. pkg/config/model_test.go

    		Spec: &networking.Gateway{},
    	}
    
    	copied := cfg.DeepCopy()
    
    	if diff := cmp.Diff(copied, cfg, protocmp.Transform()); diff != "" {
    		t.Fatalf("cloned config is not identical: %v", diff)
    	}
    
    	copied.Labels["app"] = "cloned-app"
    	copied.Annotations["policy.istio.io/checkRetries"] = "0"
    	if cfg.Labels["app"] == copied.Labels["app"] ||
    		cfg.Annotations["policy.istio.io/checkRetries"] == copied.Annotations["policy.istio.io/checkRetries"] {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 17:37:32 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  7. pkg/registry/rbac/helpers.go

    	if old == nil || reflect.ValueOf(old).IsNil() {
    		return false
    	}
    
    	// make a copy of the newObj so that we can stomp for comparison
    	copied := obj.DeepCopyObject()
    	copiedMeta, err := meta.Accessor(copied)
    	if err != nil {
    		return false
    	}
    	oldMeta, err := meta.Accessor(old)
    	if err != nil {
    		return false
    	}
    	copiedMeta.SetOwnerReferences(oldMeta.GetOwnerReferences())
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 29 16:29:43 UTC 2020
    - 1.5K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/api/internal/file/copy/DuplicateHandlingCopyActionDecorator.java

                        } else if (strategy == DuplicatesStrategy.WARN) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 02 14:30:00 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. pilot/pkg/model/fuzz_test.go

    }
    
    type deepCopier[T any] interface {
    	DeepCopy() T
    }
    
    func fuzzDeepCopy[T deepCopier[T]](f test.Fuzzer) {
    	fuzz.Fuzz(f, func(fg fuzz.Helper) {
    		orig := fuzz.Struct[T](fg)
    		copied := orig.DeepCopy()
    		assert.Equal(fg.T(), orig, copied)
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Aug 10 17:36:04 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/api/internal/collections/SortedSetElementSource.java

            if (!pending.isEmpty()) {
                List<Collectors.TypedCollector<T>> copied = Lists.newArrayList(pending);
                realize(copied);
            }
        }
    
        @Override
        public void realizePending(Class<?> type) {
            if (!pending.isEmpty()) {
                List<Collectors.TypedCollector<T>> copied = new ArrayList<>();
                for (Collectors.TypedCollector<T> collector : pending) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 8.7K bytes
    - Viewed (0)
Back to top