Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 71 for Precompute (0.2 sec)

  1. plugin/pkg/auth/authorizer/node/graph.go

    	if len(g.vertices[v.vertexType][v.namespace]) == 0 {
    		delete(g.vertices[v.vertexType], v.namespace)
    	}
    }
    
    // must be called under write lock
    // recomputeDestinationIndex_locked recomputes the index of destination ids for the specified vertex
    func (g *Graph) recomputeDestinationIndex_locked(n graph.Node) {
    	// don't maintain indices for nodes with few edges
    	edgeCount := g.graph.Degree(n)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  2. src/index/suffixarray/sais2.go

    		sa[0] = 0
    		return
    	}
    
    	// Establish slices indexed by text character
    	// holding character frequency and bucket-sort offsets.
    	// If there's only enough tmp for one slice,
    	// we make it the bucket offsets and recompute
    	// the character frequency each time we need it.
    	var freq, bucket []int64
    	if len(tmp) >= 2*textMax {
    		freq, bucket = tmp[:textMax], tmp[textMax:2*textMax]
    		freq[0] = -1 // mark as uninitialized
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 23:57:18 UTC 2024
    - 52.3K bytes
    - Viewed (0)
  3. src/unicode/utf8/utf8.go

    // bits set to 10.
    func RuneStart(b byte) bool { return b&0xC0 != 0x80 }
    
    // Valid reports whether p consists entirely of valid UTF-8-encoded runes.
    func Valid(p []byte) bool {
    	// This optimization avoids the need to recompute the capacity
    	// when generating code for p[8:], bringing it to parity with
    	// ValidString, which was 20% faster on long ASCII strings.
    	p = p[:len(p):len(p)]
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 02:00:36 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  4. pkg/controller/disruption/disruption_test.go

    	add(t, dc.podStore, pod)
    	dc.sync(ctx, pdbName)
    
    	ps.VerifyDisruptionAllowed(t, pdbName, 0)
    	verifyEventEmitted(t, dc, "UnmanagedPods")
    
    }
    
    // Verify that an integer MaxUnavailable will recompute allowed disruptions when the scale of
    // the selected pod's controller is modified.
    func TestIntegerMaxUnavailableWithScaling(t *testing.T) {
    	_, ctx := ktesting.NewTestContext(t)
    	dc, ps := newFakeDisruptionController(ctx)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 50K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"NewCipher", Func, 0},
    	},
    	"crypto/rsa": {
    		{"(*PSSOptions).HashFunc", Method, 4},
    		{"(*PrivateKey).Decrypt", Method, 5},
    		{"(*PrivateKey).Equal", Method, 15},
    		{"(*PrivateKey).Precompute", Method, 0},
    		{"(*PrivateKey).Public", Method, 4},
    		{"(*PrivateKey).Sign", Method, 4},
    		{"(*PrivateKey).Size", Method, 11},
    		{"(*PrivateKey).Validate", Method, 0},
    		{"(*PublicKey).Equal", Method, 15},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  6. src/runtime/mpagealloc.go

    		// and at least one summary is guaranteed to change.
    		//
    		// We can't assume a contiguous allocation happened, so walk over
    		// every chunk in the range and manually recompute the summary.
    		summary := p.summary[len(p.summary)-1]
    		for c := sc; c <= ec; c++ {
    			summary[c] = p.chunkOf(c).summarize()
    		}
    	}
    
    	// Walk up the radix tree and update the summaries appropriately.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  7. src/crypto/internal/nistec/p256.go

    		return nil, errors.New("invalid scalar length")
    	}
    	tables := p.generatorTable()
    
    	// This is also a scalar multiplication with a four-bit window like in
    	// ScalarMult, but in this case the doublings are precomputed. The value
    	// [windowValue]G added at iteration k would normally get doubled
    	// (totIterations-k)×4 times, but with a larger precomputation we can
    	// instead add [2^((totIterations-k)×4)][windowValue]G and avoid the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  8. src/testing/benchmark.go

    			benchName := benchmarkName(b.name, procs)
    
    			// If it's chatty, we've already printed this information.
    			if b.chatty == nil {
    				fmt.Fprintf(b.w, "%-*s\t", ctx.maxLen, benchName)
    			}
    			// Recompute the running time for all but the first iteration.
    			if i > 0 || j > 0 {
    				b = &B{
    					common: common{
    						signal: make(chan bool),
    						name:   b.name,
    						w:      b.w,
    						chatty: b.chatty,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  9. pilot/pkg/config/kube/gateway/conversion_test.go

    				"tls.key": []byte("SGVsbG8gd29ybGQK"),
    			},
    		},
    	}
    )
    
    func init() {
    	features.EnableAlphaGatewayAPI = true
    	features.EnableAmbientWaypoints = true
    	// Recompute with ambient enabled
    	classInfos = getClassInfos()
    	builtinClasses = getBuiltinClasses()
    }
    
    func TestConvertResources(t *testing.T) {
    	validator := crdvalidation.NewIstioValidator(t)
    	cases := []struct {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 20:24:52 UTC 2024
    - 34.9K bytes
    - Viewed (0)
  10. src/crypto/internal/nistec/generate.go

    		return nil, errors.New("invalid scalar length")
    	}
    	tables := p.generatorTable()
    
    	// This is also a scalar multiplication with a four-bit window like in
    	// ScalarMult, but in this case the doublings are precomputed. The value
    	// [windowValue]G added at iteration k would normally get doubled
    	// (totIterations-k)×4 times, but with a larger precomputation we can
    	// instead add [2^((totIterations-k)×4)][windowValue]G and avoid the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 19.7K bytes
    - Viewed (0)
Back to top