Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 85 for prepending (0.18 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. 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)
  4. 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)
  5. 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)
  6. 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)
  7. istioctl/pkg/checkinject/checkinject.go

    					if ok {
    						return fmt.Sprintf("Pod has %s=%s label, preventing injection", me.Key, v), false
    					}
    				case metav1.LabelSelectorOpNotIn:
    					v, ok := podLabels[me.Key]
    					if !ok {
    						continue
    					}
    					for _, nv := range me.Values {
    						if nv == v {
    							return fmt.Sprintf("Pod has %s=%s label, preventing injection", me.Key, v), false
    						}
    					}
    				}
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  8. src/os/executable.go

    package os
    
    // Executable returns the path name for the executable that started
    // the current process. There is no guarantee that the path is still
    // pointing to the correct executable. If a symlink was used to start
    // the process, depending on the operating system, the result might
    // be the symlink or the path it pointed to. If a stable result is
    // needed, [path/filepath.EvalSymlinks] might help.
    //
    // Executable returns an absolute path unless an error occurred.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 776 bytes
    - Viewed (0)
  9. pkg/kube/kclient/clienttest/test_helpers.go

    // Reads may be cached or uncached, depending on the input client.
    func WrapReadWriter[T controllers.Object](t test.Failer, c kclient.ReadWriter[T]) TestClient[T] {
    	return TestClient[T]{
    		c: c,
    		t: t,
    		TestWriter: TestWriter[T]{
    			c: c,
    			t: t,
    		},
    	}
    }
    
    // Wrap returns a client that calls t.Fatal on errors.
    // Reads may be cached or uncached, depending on the input client.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 19:18:21 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/comparison/ExhaustiveLinesSearcher.java

        private final boolean useUnifiedDiff;
    
        private ExhaustiveLinesSearcher(boolean useUnifiedDiff) {
            this.useUnifiedDiff = useUnifiedDiff;
        }
    
        /**
         * Uses the git diff algorithm for presenting matches.
         * <p>
         * Enabling this option will only show a single match, regardless of how many potential matches
         * containing the same number of matching lines are found.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top