Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 158 for Sizes (0.04 sec)

  1. src/sort/sort_test.go

    func countOps(t *testing.T, algo func(Interface), name string) {
    	sizes := countOpsSizes
    	if testing.Short() {
    		sizes = sizes[:5]
    	}
    	if !testing.Verbose() {
    		t.Skip("Counting skipped as non-verbose mode.")
    	}
    	for _, n := range sizes {
    		td := testingData{
    			desc:    name,
    			t:       t,
    			data:    make([]int, n),
    			maxswap: 1<<31 - 1,
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 19:41:04 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  2. src/runtime/memmove_amd64.s

    	// AX = to
    	// BX = from
    	// CX = n
    	MOVQ	AX, DI
    	MOVQ	BX, SI
    	MOVQ	CX, BX
    
    	// REP instructions have a high startup cost, so we handle small sizes
    	// with some straightline code. The REP MOVSQ instruction is really fast
    	// for large sizes. The cutover is approximately 2K.
    tail:
    	// move_129through256 or smaller work whether or not the source and the
    	// destination memory regions overlap because they load all data into
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 10 15:52:08 UTC 2022
    - 12.5K bytes
    - Viewed (0)
  3. cmd/encryption-v1.go

    	}
    
    	// Assemble slice of (decrypted) part sizes in `sizes`
    	var sizes []int64
    	var decObjSize int64 // decrypted total object size
    	if o.isMultipart() {
    		sizes = make([]int64, len(o.Parts))
    		for i, part := range o.Parts {
    			var partSize uint64
    			partSize, err = sio.DecryptedSize(uint64(part.Size))
    			if err != nil {
    				err = errObjectTampered
    				return
    			}
    			sizes[i] = int64(partSize)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  4. src/crypto/cipher/gcm_test.go

    		"12823ab601c350ea4bc2488c",
    		"793cd125b0b84a043e3ac67717",
    		"",
    		"e796c39074c7783a38193e3f8d46b355adacca7198d16d879fbfeac6e3",
    	},
    
    	// These cases test non-standard nonce sizes.
    	{ // key=16, plaintext=0
    		"1672c3537afa82004c6b8a46f6f0d026",
    		"05",
    		"",
    		"",
    		"8e2ad721f9455f74d8b53d3141f27e8e",
    	},
    	{ //key=16, plaintext=32
    		"9a4fea86a621a91ab371e492457796c0",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 25 15:27:49 UTC 2023
    - 35K bytes
    - Viewed (0)
  5. cmd/endpoint-ellipses.go

    	setIndexes  [][]uint64 // All the sets.
    }
    
    // Supported set sizes this is used to find the optimal
    // single set size.
    var setSizes = []uint64{2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16}
    
    // getDivisibleSize - returns a greatest common divisor of
    // all the ellipses sizes.
    func getDivisibleSize(totalSizes []uint64) (result uint64) {
    	gcd := func(x, y uint64) uint64 {
    		for y != 0 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  6. cmd/encryption-v1_test.go

    			}
    		}
    
    	}
    
    	// Multipart object tests
    	var (
    		// make a multipart object-info given part sizes
    		mkMPObj = func(sizes []int64) ObjectInfo {
    			r := make([]ObjectPartInfo, len(sizes))
    			sum := int64(0)
    			for i, s := range sizes {
    				r[i].Number = i
    				r[i].Size = getEncSize(s)
    				sum += r[i].Size
    			}
    			return ObjectInfo{
    				Size:        sum,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Sep 24 04:17:08 UTC 2022
    - 19.9K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/cgocall/cgocall.go

    // expressions since that is all that the cgocall analyzer needs.
    func typeCheckCgoSourceFiles(fset *token.FileSet, pkg *types.Package, files []*ast.File, info *types.Info, sizes types.Sizes) ([]*ast.File, *types.Info, error) {
    	const thispkg = "·this·"
    
    	// Which files are cgo files?
    	var cgoFiles []*ast.File
    	importMap := map[string]*types.Package{thispkg: pkg}
    	for _, raw := range files {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  8. cmd/sts-datatypes.go

    	// strongly recommend that you make no assumptions about the maximum size. As
    	// of this writing, the typical size is less than 4096 bytes, but that can vary.
    	// Also, future updates to AWS might require larger sizes.
    	Credentials auth.Credentials `xml:",omitempty"`
    
    	// A percentage value that indicates the size of the policy in packed form.
    	// The service rejects any policy with a packed size greater than 100 percent,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 27 00:58:09 UTC 2022
    - 9.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-prefer-tf2xla.mlir

      // CHECK: return %[[RESULT]] : tensor<1x4xi32>
      %sizes = "tf.Const"() {value = dense<[1, 4]> : tensor<2xi64>} : () -> (tensor<2xi64>)
      %0 = "tf.Slice"(%arg0, %arg1, %sizes) : (tensor<3x4xi32>, tensor<2xi64>, tensor<2xi64>) -> tensor<1x4xi32>
      func.return %0 : tensor<1x4xi32>
    }
    
    // CHECK-LABEL: slice_variable_start_negsize
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/check_test.go

    	src := fmt.Sprintf(format, strings.Repeat("1", 9999), strings.Repeat("1", 10001))
    	testFiles(t, []string{"longconst.go"}, [][]byte{[]byte(src)}, 0, false)
    }
    
    func withSizes(sizes Sizes) func(*Config) {
    	return func(cfg *Config) {
    		cfg.Sizes = sizes
    	}
    }
    
    // TestIndexRepresentability tests that constant index operands must
    // be representable as int even if they already have a type that can
    // represent larger values.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 13.8K bytes
    - Viewed (0)
Back to top