Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for slicelit (0.15 sec)

  1. pkg/controller/endpointslice/endpointslice_controller_test.go

    	expectActions(t, client.Actions(), 1, "create", "endpointslices")
    
    	sliceList, err := client.DiscoveryV1().EndpointSlices(ns).List(context.TODO(), metav1.ListOptions{})
    	assert.Nil(t, err, "Expected no error fetching endpoint slices")
    	assert.Len(t, sliceList.Items, 1, "Expected 1 endpoint slices")
    	slice := sliceList.Items[0]
    	assert.Regexp(t, "^"+serviceName, slice.Name)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 65.5K bytes
    - Viewed (0)
  2. src/encoding/gob/type.go

    	const unknown = "unknown type"
    	if w == nil {
    		return unknown
    	}
    	switch {
    	case w.ArrayT != nil:
    		return w.ArrayT.Name
    	case w.SliceT != nil:
    		return w.SliceT.Name
    	case w.StructT != nil:
    		return w.StructT.Name
    	case w.MapT != nil:
    		return w.MapT.Name
    	case w.GobEncoderT != nil:
    		return w.GobEncoderT.Name
    	case w.BinaryMarshalerT != nil:
    		return w.BinaryMarshalerT.Name
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  3. api/go1.23.txt

    pkg os, func CopyFS(string, fs.FS) error #62484
    pkg path/filepath, func Localize(string) (string, error) #57151
    pkg reflect, func SliceAt(Type, unsafe.Pointer, int) Value #61308
    pkg reflect, method (Value) Seq() iter.Seq[Value] #66056
    pkg reflect, method (Value) Seq2() iter.Seq2[Value, Value] #66056
    pkg reflect, type Type interface, CanSeq() bool #66056
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 20:48:49 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/generic.rules

    // a more comprehensive set.
    (SliceLen (SliceMake _ (Const64 <t> [c]) _)) => (Const64 <t> [c])
    (SliceCap (SliceMake _ _ (Const64 <t> [c]))) => (Const64 <t> [c])
    (SliceLen (SliceMake _ (Const32 <t> [c]) _)) => (Const32 <t> [c])
    (SliceCap (SliceMake _ _ (Const32 <t> [c]))) => (Const32 <t> [c])
    (SlicePtr (SliceMake (SlicePtr x) _ _)) => (SlicePtr x)
    (SliceLen (SliceMake _ (SliceLen x) _)) => (SliceLen x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 22:21:05 UTC 2024
    - 135.3K bytes
    - Viewed (0)
  5. src/reflect/all_test.go

    	}
    
    	typ = TypeOf(0)
    	if !SliceAt(typ, unsafe.Pointer((*int)(nil)), 0).IsNil() {
    		t.Fatal("nil pointer with zero length must return nil")
    	}
    
    	// nil pointer with positive length panics
    	shouldPanic("", func() { _ = SliceAt(typ, unsafe.Pointer((*int)(nil)), 1) })
    
    	// negative length
    	var neg int = -1
    	shouldPanic("", func() { _ = SliceAt(TypeOf(byte(0)), unsafe.Pointer(&p[0]), neg) })
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/_gen/genericOps.go

    	// Slices
    	{name: "SliceMake", argLength: 3},                // arg0=ptr, arg1=len, arg2=cap
    	{name: "SlicePtr", argLength: 1, typ: "BytePtr"}, // ptr(arg0)
    	{name: "SliceLen", argLength: 1},                 // len(arg0)
    	{name: "SliceCap", argLength: 1},                 // cap(arg0)
    	// SlicePtrUnchecked, like SlicePtr, extracts the pointer from a slice.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  7. src/reflect/value.go

    	return Value{&typ.(*rtype).t, unsafe.Pointer(&s), flagIndir | flag(Slice)}
    }
    
    // SliceAt returns a [Value] representing a slice whose underlying
    // data starts at p, with length and capacity equal to n.
    //
    // This is like [unsafe.Slice].
    func SliceAt(typ Type, p unsafe.Pointer, n int) Value {
    	unsafeslice(typ.common(), p, n)
    	s := unsafeheader.Slice{Data: p, Len: n, Cap: n}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/rewritegeneric.go

    		c := auxIntToInt32(v_0_1.AuxInt)
    		v.reset(OpConst32)
    		v.Type = t
    		v.AuxInt = int32ToAuxInt(c)
    		return true
    	}
    	// match: (SliceLen (SliceMake _ (SliceLen x) _))
    	// result: (SliceLen x)
    	for {
    		if v_0.Op != OpSliceMake {
    			break
    		}
    		_ = v_0.Args[1]
    		v_0_1 := v_0.Args[1]
    		if v_0_1.Op != OpSliceLen {
    			break
    		}
    		x := v_0_1.Args[0]
    		v.reset(OpSliceLen)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 18:24:47 UTC 2024
    - 812.2K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssagen/ssa.go

    				mayOverlap = false
    			}
    		}
    
    		// Evaluate RHS.
    		rhs := n.Y
    		if rhs != nil {
    			switch rhs.Op() {
    			case ir.OSTRUCTLIT, ir.OARRAYLIT, ir.OSLICELIT:
    				// All literals with nonzero fields have already been
    				// rewritten during walk. Any that remain are just T{}
    				// or equivalents. Use the zero value.
    				if !ir.IsZero(rhs) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

       `dimI` are the dimensions of the larger tensor and `slice-spec`
       specifies what part is covered by the tensor to save.
    
    `slice-spec` itself is a `:`-separated list: `slice0:slice1:...:sliceN-1`
    where each `sliceI` is either:
    
    *  The string `-` meaning that the slice covers all indices of this dimension
    *  `start,length` where `start` and `length` are integers.  In that
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
Back to top