Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for copyFn (0.17 sec)

  1. pkg/apis/core/zz_generated.deepcopy.go

    // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    func (in *ExecAction) DeepCopyInto(out *ExecAction) {
    	*out = *in
    	if in.Command != nil {
    		in, out := &in.Command, &out.Command
    		*out = make([]string, len(*in))
    		copy(*out, *in)
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecAction.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/core/v1/zz_generated.deepcopy.go

    // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    func (in *ExecAction) DeepCopyInto(out *ExecAction) {
    	*out = *in
    	if in.Command != nil {
    		in, out := &in.Command, &out.Command
    		*out = make([]string, len(*in))
    		copy(*out, *in)
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecAction.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.9K bytes
    - Viewed (0)
  3. src/net/http/transport_test.go

    		sconn.Lock()
    		sconn.c = conn
    		sconn.Unlock()
    		conn.Write([]byte("HTTP/1.1 200 OK\r\nContent-Length: 3\r\n\r\nfoo")) // keep-alive
    
    		copying.Add(1)
    		go func() {
    			io.Copy(io.Discard, conn)
    			copying.Done()
    		}()
    	})).ts
    	c := ts.Client()
    
    	const bodySize = 256 << 10
    	finalBit := make(byteFromChanReader, 1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  4. cmd/object-handlers.go

    func getCpObjMetadataFromHeader(ctx context.Context, r *http.Request, userMeta map[string]string) (map[string]string, error) {
    	// Make a copy of the supplied metadata to avoid
    	// to change the original one.
    	defaultMeta := make(map[string]string, len(userMeta))
    	for k, v := range userMeta {
    		// skip tier metadata when copying metadata from source object
    		switch k {
    		case metaTierName, metaTierStatus, metaTierObjName, metaTierVersionID:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 124.2K bytes
    - Viewed (0)
  5. cmd/admin-handlers.go

    	ctx, cancel := context.WithTimeout(ctx, madmin.MaxClientPerfTimeout)
    	defer cancel()
    	totalRx := int64(0)
    	connectTime := time.Now()
    	for {
    		n, err := io.CopyN(xioutil.Discard, r.Body, 128*humanize.KiByte)
    		if err != nil && err != io.EOF && err != io.ErrUnexpectedEOF {
    			// would mean the network is not stable. Logging here will help in debugging network issues.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/cache/LocalCache.java

       */
      @SuppressWarnings("serial") // This class is never serialized.
      static class Segment<K, V> extends ReentrantLock {
    
        /*
         * TODO(fry): Consider copying variables (like evictsBySize) from outer class into this class.
         * It will require more memory but will reduce indirection.
         */
    
        /*
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 143.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/cache/LocalCache.java

       */
      @SuppressWarnings("serial") // This class is never serialized.
      static class Segment<K, V> extends ReentrantLock {
    
        /*
         * TODO(fry): Consider copying variables (like evictsBySize) from outer class into this class.
         * It will require more memory but will reduce indirection.
         */
    
        /*
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  8. src/net/http/server.go

    	w.canWriteContinue.Store(false)
    	w.writeContinueMu.Unlock()
    }
    
    // writerOnly hides an io.Writer value's optional ReadFrom method
    // from io.Copy.
    type writerOnly struct {
    	io.Writer
    }
    
    // ReadFrom is here to optimize copying from an [*os.File] regular file
    // to a [*net.TCPConn] with sendfile, or from a supported src type such
    // as a *net.TCPConn on Linux with splice.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  9. src/reflect/value.go

    // purpose of this bitmap is to keep pointers visible to the GC between
    // returning from reflectcall and actually using them.
    //
    // If copying result bytes back from the stack, the caller must pass the
    // argument frame type as stackArgsType, so that call can execute appropriate
    // write barriers during the copy.
    //
    // Arguments passed through to call do not escape. The type is used only in a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  10. src/cmd/vendor/github.com/ianlancetaylor/demangle/ast.go

    	Traverse(func(AST) bool)
    
    	// Copy an AST with possible transformations.
    	// If the skip function returns true, no copy is required.
    	// If the copy function returns nil, no copy is required.
    	// The Copy method will do the right thing if copy returns nil
    	// for some components of an AST but not others, so a good
    	// copy function will only return non-nil for AST values that
    	// need to change.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 105.8K bytes
    - Viewed (0)
Back to top