Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 653 for copied32 (0.17 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. staging/src/k8s.io/apimachinery/pkg/watch/filter.go

    	return in, true
    }
    
    // Events returns a copy of the events sent across this recorder.
    func (r *Recorder) Events() []Event {
    	r.lock.Lock()
    	defer r.lock.Unlock()
    	copied := make([]Event, len(r.events))
    	copy(copied, r.events)
    	return copied
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  7. src/net/sendfile_windows.go

    	"syscall"
    )
    
    const supportsSendfile = true
    
    // sendFile copies the contents of r to c using the TransmitFile
    // system call to minimize copies.
    //
    // if handled == true, sendFile returns the number of bytes copied and any
    // non-EOF error.
    //
    // if handled == false, sendFile performed no work.
    func sendFile(fd *netFD, r io.Reader) (written int64, err error, handled bool) {
    	var n int64 = 0 // by default, copy until EOF.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  8. src/runtime/memmove_linux_amd64_test.go

    	}
    
    	s := unsafe.Slice((*byte)(unsafe.Pointer(base)), 3<<30)
    	n := copy(s[1:], s)
    	if n != 3<<30-1 {
    		t.Fatalf("copied %d bytes, expected %d", n, 3<<30-1)
    	}
    	n = copy(s, s[1:])
    	if n != 3<<30-1 {
    		t.Fatalf("copied %d bytes, expected %d", n, 3<<30-1)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 07 01:48:30 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  9. src/internal/runtime/atomic/types.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package atomic
    
    import "unsafe"
    
    // Int32 is an atomically accessed int32 value.
    //
    // An Int32 must not be copied.
    type Int32 struct {
    	noCopy noCopy
    	value  int32
    }
    
    // Load accesses and returns the value atomically.
    //
    //go:nosplit
    func (i *Int32) Load() int32 {
    	return Loadint32(&i.value)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/api/internal/file/copy/FileCopyAction.java

                File target = fileResolver.resolve(details.getRelativePath().getPathString());
                renameIfCaseChanged(target);
                boolean copied = details.copyTo(target);
                if (copied) {
                    didWork = true;
                }
            }
    
            private void renameIfCaseChanged(File target) {
                if (target.exists()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 17:00:04 UTC 2019
    - 2.2K bytes
    - Viewed (0)
Back to top