Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 267 for index (0.05 sec)

  1. src/crypto/internal/mlkem768/mlkem768.go

    	// bits (dropped with a mask) and the leftmost bits are the least
    	// significant bits (dropped with a right shift).
    
    	var a nttElement
    	var j int        // index into a
    	var buf [24]byte // buffered reads from B
    	off := len(buf)  // index into buf, starts in a "buffer fully consumed" state
    	for {
    		if off >= len(buf) {
    			B.Read(buf[:])
    			off = 0
    		}
    		d1 := byteorder.LeUint16(buf[off:]) & 0b1111_1111_1111
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  2. src/go/ast/filter.go

    	}
    
    	// Collect declarations from all package files.
    	var decls []Decl
    	if ndecls > 0 {
    		decls = make([]Decl, ndecls)
    		funcs := make(map[string]int) // map of func name -> decls index
    		i := 0                        // current index
    		n := 0                        // number of filtered entries
    		for _, filename := range filenames {
    			f := pkg.Files[filename]
    			for _, d := range f.Decls {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. pilot/pkg/xds/endpoints/ep_filters_test.go

    			shards.Shards[sk][i] = ep
    		}
    	}
    	// convert to EndpointIndex
    	index := model.NewEndpointIndex(model.NewXdsCache())
    	for shardKey, testEps := range shards.Shards {
    		svc, _ := index.GetOrCreateEndpointShard("example.ns.svc.cluster.local", "ns")
    		svc.Lock()
    		svc.Shards[shardKey] = testEps
    		svc.Unlock()
    	}
    	return index
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  4. src/crypto/cipher/gcm.go

    	// into this table we'll be using bits from a field element and
    	// therefore the bits will be in the reverse order. So normally one
    	// would expect, say, 4*key to be in index 4 of the table but due to
    	// this bit ordering it will actually be in index 0010 (base 2) = 2.
    	x := gcmFieldElement{
    		byteorder.BeUint64(key[:8]),
    		byteorder.BeUint64(key[8:]),
    	}
    	g.productTable[reverseBits(1)] = x
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/typechecking.go

    				FieldRef: fieldRef.Index(i).Child("expression").String(),
    				Warning:  results.String(),
    			})
    		}
    		// Note that MessageExpression is optional
    		if v.MessageExpression == "" {
    			continue
    		}
    		results = c.CheckExpression(ctx, v.MessageExpression)
    		if len(results) != 0 {
    			warnings = append(warnings, v1.ExpressionWarning{
    				FieldRef: fieldRef.Index(i).Child("messageExpression").String(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  6. src/net/url/url.go

    			continue
    		}
    
    		if elem == ".." {
    			// Ignore the leading '/' we already wrote.
    			str := dst.String()[1:]
    			index := strings.LastIndexByte(str, '/')
    
    			dst.Reset()
    			dst.WriteByte('/')
    			if index == -1 {
    				first = true
    			} else {
    				dst.WriteString(str[:index])
    			}
    		} else {
    			if !first {
    				dst.WriteByte('/')
    			}
    			dst.WriteString(elem)
    			first = false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 36.1K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/internal/typesinternal/errorcode.go

    	//  var x int
    	//  var y = *x
    	InvalidIndirection
    
    	/* exprs > [] */
    
    	// NonIndexableOperand occurs when an index operation is applied to a value
    	// that cannot be indexed.
    	//
    	// Example:
    	//  var x = 1
    	//  var y = x[1]
    	NonIndexableOperand
    
    	// InvalidIndex occurs when an index argument is not of integer type,
    	// negative, or out-of-bounds.
    	//
    	// Example:
    	//  var s = [...]int{1,2,3}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 34K bytes
    - Viewed (0)
  8. src/math/rand/v2/regress_test.go

    	first = append(append([]byte("\n"), first...), '\n')
    	data, err := os.ReadFile(file)
    	if err != nil {
    		t.Fatal(err)
    	}
    	i := bytes.Index(data, first)
    	if i < 0 {
    		t.Fatalf("cannot find %q in %s", first, file)
    	}
    	j := bytes.Index(data[i+1:], []byte("\n}\n"))
    	if j < 0 {
    		t.Fatalf("cannot find end in %s", file)
    	}
    	data = append(append(data[:i+1:i+1], new...), data[i+1+j+1:]...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:03:11 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/values_test.go

    					t.Errorf("Expected Get to return %v for index %d but got %v", tc.unstructured[i], i, get)
    				}
    				if iter.HasNext() != types.True {
    					t.Error("Expected HasNext to return true")
    				}
    				next := iter.Next().Value()
    				if !reflect.DeepEqual(next, tc.unstructured[i]) {
    					t.Errorf("Expected Next to return %v for index %d but got %v", tc.unstructured[i], i, next)
    				}
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  10. src/runtime/symtab.go

    // To find a function given a pc, locate the bucket and subbucket for
    // that pc. Add together the idx and subbucket value to obtain a
    // function index. Then scan the functab array starting at that
    // index to find the target function.
    // This table uses 20 bytes for every 4096 bytes of code, or ~0.5% overhead.
    type findfuncbucket struct {
    	idx        uint32
    	subbuckets [16]byte
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 40K bytes
    - Viewed (0)
Back to top