Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 773 for copyFn (0.11 sec)

  1. src/internal/trace/batch.go

    	}
    
    	// Copy out the batch for later processing.
    	var data bytes.Buffer
    	data.Grow(int(size))
    	n, err := io.CopyN(&data, r, int64(size))
    	if n != int64(size) {
    		return batch{}, gen, fmt.Errorf("failed to read full batch: read %d but wanted %d", n, size)
    	}
    	if err != nil {
    		return batch{}, gen, fmt.Errorf("copying batch data: %w", err)
    	}
    
    	// Return the batch.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. src/os/dir.go

    // the file in fsys.
    //
    // Symbolic links in fsys are not supported, a *PathError with Err set
    // to ErrInvalid is returned on symlink.
    //
    // Copying stops at and returns the first error encountered.
    func CopyFS(dir string, fsys fs.FS) error {
    	return fs.WalkDir(fsys, ".", func(path string, d fs.DirEntry, err error) error {
    		if err != nil {
    			return err
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/zz_generated.deepcopy.go

    		**out = **in
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Extensions.
    func (in *Extensions) DeepCopy() *Extensions {
    	if in == nil {
    		return nil
    	}
    	out := new(Extensions)
    	in.DeepCopyInto(out)
    	return out
    }
    
    // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    func (in *Generic) DeepCopyInto(out *Generic) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  4. pkg/controller/volume/persistentvolume/config/zz_generated.deepcopy.go

    }
    
    // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    func (in *PersistentVolumeRecyclerConfiguration) DeepCopyInto(out *PersistentVolumeRecyclerConfiguration) {
    	*out = *in
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeRecyclerConfiguration.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 02:59:09 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultModelRepositoryHolder.java

            this.externalRepositories = List.copyOf(externalRepositories);
            this.repositories = List.copyOf(externalRepositories);
            this.ids = new HashSet<>();
        }
    
        protected DefaultModelRepositoryHolder(DefaultModelRepositoryHolder holder) {
            this.session = holder.session;
            this.repositoryMerging = holder.repositoryMerging;
            this.pomRepositories = List.copyOf(holder.pomRepositories);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 15:10:38 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/apis/output/zz_generated.deepcopy.go

    		*out = make([]string, len(*in))
    		copy(*out, *in)
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Images.
    func (in *Images) DeepCopy() *Images {
    	if in == nil {
    		return nil
    	}
    	out := new(Images)
    	in.DeepCopyInto(out)
    	return out
    }
    
    // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 07:01:20 UTC 2024
    - 7K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSet.java

        Collections.addAll(all, others);
        return copyOf(all.iterator());
      }
    
      /** ImmutableSet.of API that is friendly to use from JavaScript. */
      @JsMethod(name = "of")
      static <E> ImmutableSet<E> jsOf(E... elements) {
        return copyOf(elements);
      }
    
      @JsMethod
      public static <E> ImmutableSet<E> copyOf(E[] elements) {
        checkNotNull(elements);
        switch (elements.length) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 08 03:01:02 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  8. platforms/core-runtime/logging/src/main/java/org/gradle/internal/problems/failure/DefaultFailure.java

            }
    
            this.original = original;
            this.stackTrace = ImmutableList.copyOf(stackTrace);
            this.frameRelevance = ImmutableList.copyOf(frameRelevance);
            this.suppressed = ImmutableList.copyOf(suppressed);
            this.causes = ImmutableList.copyOf(causes);
        }
    
        @Override
        public Class<? extends Throwable> getExceptionType() {
            return original.getClass();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 17:15:42 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java

        assertSame(
            "copyOf(ImmutableSetMultimap) should not create a new instance",
            setMultimap,
            setMultimapCopy);
    
        ImmutableListMultimap<String, String> listMultimap = ImmutableListMultimap.of("k1", "v1");
        ImmutableMultimap<String, String> listMultimapCopy = ImmutableMultimap.copyOf(listMultimap);
        assertSame(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. pilot/pkg/config/kube/crd/config.go

    }
    
    // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    func (in *IstioKind) DeepCopyInto(out *IstioKind) {
    	*out = *in
    	out.TypeMeta = in.TypeMeta
    	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    	out.Spec = in.Spec
    	out.Status = in.Status
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IstioKind.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 18:26:16 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top