Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 492 for prepending (0.14 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/framer/framer.go

    	w io.Writer
    	h [4]byte
    }
    
    func NewLengthDelimitedFrameWriter(w io.Writer) io.Writer {
    	return &lengthDelimitedFrameWriter{w: w}
    }
    
    // Write writes a single frame to the nested writer, prepending it with the length
    // in bytes of data (as a 4 byte, bigendian uint32).
    func (w *lengthDelimitedFrameWriter) Write(data []byte) (int, error) {
    	binary.BigEndian.PutUint32(w.h[:], uint32(len(data)))
    	n, err := w.w.Write(w.h[:])
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 13:33:12 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. src/syscall/dir_plan9.go

    func pbit64(b []byte, v uint64) []byte {
    	byteorder.LePutUint64(b, v)
    	return b[8:]
    }
    
    // pstring copies the string s to b, prepending it with a 16-bit length in little-endian order, and
    // returning the remaining slice of b..
    func pstring(b []byte, s string) []byte {
    	b = pbit16(b, uint16(len(s)))
    	n := copy(b, s)
    	return b[n:]
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 19:32:38 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. src/vendor/golang.org/x/net/http/httpproxy/proxy.go

    	if proxy == "" {
    		return nil, nil
    	}
    
    	proxyURL, err := url.Parse(proxy)
    	if err != nil || proxyURL.Scheme == "" || proxyURL.Host == "" {
    		// proxy was bogus. Try prepending "http://" to it and
    		// see if that parses correctly. If not, we fall
    		// through and complain about the original one.
    		if proxyURL, err := url.Parse("http://" + proxy); err == nil {
    			return proxyURL, nil
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 00:09:40 UTC 2024
    - 10K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

      return rewriter->create<TF::FillOp>(
          loc,
          tensorflow::GetTypeFromTFTensorShape({-1}, rewriter->getIntegerType(32)),
          shape_tensor, scalar_val);
    }
    
    // Returns a new type by prepending the specified dimension to the shape of
    // the given type if it is a ranked type.
    Type PrependLeadingDimIfRanked(int64_t dim, Type type,
                                   PatternRewriter *rewriter) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
  5. cluster/gce/gci/configure-helper.sh

        setup-konnectivity-agent-manifest
      fi
      if [[ "${ENABLE_CLUSTER_DNS:-}" == "true" ]]; then
        # Create a new directory for the DNS addon and prepend a "0" on the name.
        # Prepending "0" to the directory ensures that add-on manager
        # creates the dns service first. This ensures no other add-on
        # can "steal" the designated DNS clusterIP.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K bytes
    - Viewed (0)
  6. pkg/controller/job/indexed_job_utils_test.go

    				{"5", v1.PodPending},
    				{"0", v1.PodRunning},
    				{"3", v1.PodPending},
    				{"0", v1.PodRunning},
    				{"3", v1.PodRunning},
    				{"0", v1.PodPending},
    				{"6", v1.PodRunning},
    				{"6", v1.PodPending},
    			},
    			wantRm: []indexPhase{
    				{"0", v1.PodPending},
    				{"0", v1.PodRunning},
    				{"3", v1.PodPending},
    				{"6", v1.PodRunning},
    				{"6", v1.PodPending},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  7. analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/modification/KotlinCodeFragmentContextModificationListener.kt

    public fun interface KotlinCodeFragmentContextModificationListener {
        /**
         * [onModification] is invoked in a write action before or after a context change for code fragments depending on the [module].
         *
         * All code fragments depending on [module], both directly or transitively, should be considered modified when this event is received.
         *
         * @see KotlinModificationTopics
         */
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 796 bytes
    - Viewed (0)
  8. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/CrossBuildInMemoryCacheFactory.java

    @ThreadSafe
    @ServiceScope(Global.class)
    public interface CrossBuildInMemoryCacheFactory {
        /**
         * Creates a new cache instance. Keys are always referenced using strong references, values by strong or soft references depending on their usage.
         *
         * <p>Clients should assume that entries may be removed at any time, based on current memory pressure and the likelihood that the entry will be required again soon.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/typecheck/_builtin/coverage.go

    // license that can be found in the LICENSE file.
    
    // NOTE: If you change this file you must run "go generate"
    // in cmd/compile/internal/typecheck
    // to update builtin.go. This is not done automatically
    // to avoid depending on having a working compiler binary.
    
    //go:build ignore
    
    package coverage
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 28 16:59:48 UTC 2024
    - 437 bytes
    - Viewed (0)
  10. src/internal/abi/escape.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package abi
    
    import "unsafe"
    
    // NoEscape hides the pointer p from escape analysis, preventing it
    // from escaping to the heap. It compiles down to nothing.
    //
    // WARNING: This is very subtle to use correctly. The caller must
    // ensure that it's truly safe for p to not escape to the heap by
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 884 bytes
    - Viewed (0)
Back to top