Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 402 for SLICE (0.19 sec)

  1. operator/pkg/name/name.go

    	Content string
    }
    
    // ManifestMap is a map of ComponentName to its manifest string.
    type ManifestMap map[ComponentName][]string
    
    // Consolidated returns a representation of mm where all manifests in the slice under a key are combined into a single
    // manifest.
    func (mm ManifestMap) Consolidated() map[string]string {
    	out := make(map[string]string)
    	for cname, ms := range mm {
    		allM := ""
    		for _, m := range ms {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 19:23:44 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  2. src/syscall/getdirentries_test.go

    		if n == 0 {
    			break
    		}
    		data := buf[:n]
    		for len(data) > 0 {
    			// If multiple Dirents are written into buf, sometimes when we reach the final one,
    			// we have cap(buf) < Sizeof(Dirent). So use an appropriate slice to copy from data.
    			var dirent syscall.Dirent
    			copy((*[unsafe.Sizeof(dirent)]byte)(unsafe.Pointer(&dirent))[:], data)
    
    			data = data[dirent.Reclen:]
    			name := make([]byte, dirent.Namlen)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. samples/bookinfo/src/productpage/static/tailwind/tailwind.css

    |e===i.length-1?[i,void 0]:rt(i)&&!i.includes("]/[")?[i,void 0]:[i.slice(0,e),i.slice(e+1)]}function Ct(i){if(typeof i=="string"&&i.includes("<alpha-value>")){let e=i;return({opacityValue:t=1})=>e.replace("<alpha-value>",t)}return i}function Uu(i){return L(i.slice(1,-1))}function Ub(i,e={},{tailwindConfig:t={}}={}){if(e.values?.[i]!==void 0)return Ct(e.values?.[i]);let[r,n]=Vu(i);if(n!==void 0){let a=e.values?.[r]??(rt(r)?r.slice(1,-1):void 0);return a===void 0?void 0:(a=Ct(a),rt(n)?Ie(a,Uu(n)):...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 28 14:48:01 UTC 2024
    - 357.1K bytes
    - Viewed (1)
  4. src/embed/embed.go

    // and then print its contents at run time.
    //
    // Embedding one file into a string:
    //
    //	import _ "embed"
    //
    //	//go:embed hello.txt
    //	var s string
    //	print(s)
    //
    // Embedding one file into a slice of bytes:
    //
    //	import _ "embed"
    //
    //	//go:embed hello.txt
    //	var b []byte
    //	print(string(b))
    //
    // Embedded one or more files into a file system:
    //
    //	import "embed"
    //
    //	//go:embed hello.txt
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 19:42:51 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  5. src/encoding/asn1/marshal.go

    		}
    		tag = TagSet
    	}
    
    	// makeField can be called for a slice that should be treated as a SET
    	// but doesn't have params.set set, for instance when using a slice
    	// with the SET type name suffix. In this case getUniversalType returns
    	// TagSet, but makeBody doesn't know about that so will treat the slice
    	// as a sequence. To work around this we set params.set.
    	if tag == TagSet && !params.set {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go

    	// pass a byte slice to the method to avoid allocations.
    	AsCanonicalBytes(out []byte) ([]byte, int32)
    	// AsCanonicalBase1024Bytes returns a byte array representing the string representation
    	// of the value mantissa and an int32 representing its exponent in base-1024. Callers
    	// may pass a byte slice to the method to avoid allocations.
    	AsCanonicalBase1024Bytes(out []byte) ([]byte, int32)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/internal/typeparams/coretype.go

    			ch = curr
    		} else if curr.Dir() != types.SendRecv && ch.Dir() != curr.Dir() {
    			// ch and curr are not bidirectional and not the same direction.
    			return nil
    		}
    	}
    	return ch
    }
    
    // NormalTerms returns a slice of terms representing the normalized structural
    // type restrictions of a type, if any.
    //
    // For all types other than *types.TypeParam, *types.Interface, and
    // *types.Union, this is just a single term with Tilde() == false and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/tests/uniform-quantized-stablehlo-to-tfl.mlir

    // CHECK-NOT: tfl.padv2
    // CHECK: stablehlo.pad
    
    // -----
    
    // Tests that a quantized `stablehlo.slice` is converted to
    // `tfl.slice` when stride is 1.
    
    func.func @slice(
        %arg0: tensor<3x4x!quant.uniform<i8:f32, 2.000000e+00:-1>>
      ) -> tensor<2x2x!quant.uniform<i8:f32, 2.000000e+00:-1>> {
      %0 = "stablehlo.slice"(%arg0) {
        start_indices = array<i64: 1, 2>,
        limit_indices = array<i64: 3, 4>,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 17:10:32 UTC 2024
    - 106.2K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/apis/kubeadm/types.go

    	// it will be defaulted with a control-plane taint for control-plane nodes. If you don't want to taint your control-plane
    	// node, set this field to an empty slice, i.e. `taints: []` in the YAML file. This field is solely used for Node registration.
    	Taints []v1.Taint
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 03:12:52 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

        if (slice_size < 0 && (!is_constant_start || input_size < 0)) return false;
      }
      return true;
    }
    
    // TF slice size can be -1, which represents all elements from start_index to
    // the end. HLO slice size can't be -1. As such, we need to translate TF slice
    // size -1 to HLO slice size.
    static DenseIntElementsAttr TFSliceSizes2HLOSliceSizes(
        Value input, Value start_indices, DenseIntElementsAttr slice_sizes,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
Back to top