Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 316 for prepending (0.2 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. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. cmd/erasure-metadata-utils.go

    	}
    	return max, maxErr
    }
    
    // reduceQuorumErrs behaves like reduceErrs by only for returning
    // values of maximally occurring errors validated against a generic
    // quorum number that can be read or write quorum depending on usage.
    func reduceQuorumErrs(ctx context.Context, errs []error, ignoredErrs []error, quorum int, quorumErr error) error {
    	if contextCanceled(ctx) {
    		return context.Canceled
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  10. pkg/kubelet/kubelet_pods_test.go

    					},
    				},
    			},
    			false,
    			v1.PodPending,
    			"mixed state #2 with restart always",
    		},
    		{
    			&v1.Pod{
    				Spec: desiredState,
    				Status: v1.PodStatus{
    					ContainerStatuses: []v1.ContainerStatus{
    						runningState("containerA"),
    						waitingState("containerB"),
    					},
    				},
    			},
    			false,
    			v1.PodPending,
    			"mixed state #3 with restart always",
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
Back to top