Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for slicelen (0.28 sec)

  1. 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)
  2. 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)
  3. src/cmd/compile/internal/ssa/rewritegeneric.go

    	}
    	// 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)
    		v.AddArg(x)
    		return true
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 18:24:47 UTC 2024
    - 812.2K bytes
    - Viewed (0)
  4. src/runtime/mspanset.go

    	// Do we need to add a block?
    	spineLen := b.spineLen.Load()
    	var block *spanSetBlock
    retry:
    	if top < spineLen {
    		block = b.spine.Load().lookup(top).Load()
    	} else {
    		// Add a new block to the spine, potentially growing
    		// the spine.
    		lock(&b.spineLock)
    		// spineLen cannot change until we release the lock,
    		// but may have changed while we were waiting.
    		spineLen = b.spineLen.Load()
    		if top < spineLen {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  5. pkg/proxy/endpointslicecache.go

    func (cache *EndpointSliceCache) esDataChanged(serviceKey types.NamespacedName, sliceKey string, esData *endpointSliceData) bool {
    	if _, ok := cache.trackerByServiceMap[serviceKey]; ok {
    		appliedData, appliedOk := cache.trackerByServiceMap[serviceKey].applied[sliceKey]
    		pendingData, pendingOk := cache.trackerByServiceMap[serviceKey].pending[sliceKey]
    
    		// If there's already a pending value, return whether or not this would
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:07:21 UTC 2024
    - 11.7K bytes
    - Viewed (1)
  6. pkg/proxy/endpointslicecache_test.go

    				tc.cache.checkoutChanges()
    			}
    
    			serviceKey, sliceKey, err := endpointSliceCacheKeys(tc.updatedSlice)
    			if err != nil {
    				t.Fatalf("Expected no error calling endpointSliceCacheKeys(): %v", err)
    			}
    
    			esData := &endpointSliceData{tc.updatedSlice, false}
    			changed := tc.cache.esDataChanged(serviceKey, sliceKey, esData)
    
    			if tc.expectChanged != changed {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:07:21 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/security/oauth2-jwt.md

    Wenn Sie mit JWT-Tokens spielen und sehen möchten, wie sie funktionieren, schauen Sie sich <a href="https://jwt.io/" class="external-link" target="_blank">https://jwt.io</a> an.
    
    ## `python-jose` installieren.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:27:06 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

                                           *begin, *end, *stride);
    }
    
    bool StridedSliceOp::GetSlicedBoundRanges(
        SmallVectorImpl<int64_t> *slice_begin, SmallVectorImpl<int64_t> *slice_end,
        SmallVectorImpl<int64_t> *slice_stride) {
      // TODO(hinsu): Support lowering for ops with dynamic begin and end values
      // when it is possible to derive indices based on mask attributes.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssagen/ssa.go

    	s.stmtList(n.Init())
    	switch n.Op() {
    	case ir.OBYTES2STRTMP:
    		n := n.(*ir.ConvExpr)
    		slice := s.expr(n.X)
    		ptr := s.newValue1(ssa.OpSlicePtr, s.f.Config.Types.BytePtr, slice)
    		len := s.newValue1(ssa.OpSliceLen, types.Types[types.TINT], slice)
    		return s.newValue2(ssa.OpStringMake, n.Type(), ptr, len)
    	case ir.OSTR2BYTESTMP:
    		n := n.(*ir.ConvExpr)
    		str := s.expr(n.X)
    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. src/cmd/compile/internal/ssa/opGen.go

    	},
    	{
    		name:    "SliceMake",
    		argLen:  3,
    		generic: true,
    	},
    	{
    		name:    "SlicePtr",
    		argLen:  1,
    		generic: true,
    	},
    	{
    		name:    "SliceLen",
    		argLen:  1,
    		generic: true,
    	},
    	{
    		name:    "SliceCap",
    		argLen:  1,
    		generic: true,
    	},
    	{
    		name:    "SlicePtrUnchecked",
    		argLen:  1,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 1M bytes
    - Viewed (0)
Back to top