Search Options

Results per page
Sort
Preferred Languages
Advance

Results 521 - 530 of 1,179 for FUNC (0.06 sec)

  1. cmd/batch-replicate_gen.go

    func (z BatchJobReplicateCredentials) Msgsize() (s int) {
    	s = 1 + 10 + msgp.StringPrefixSize + len(z.AccessKey) + 10 + msgp.StringPrefixSize + len(z.SecretKey) + 13 + msgp.StringPrefixSize + len(z.SessionToken)
    	return
    }
    
    // DecodeMsg implements msgp.Decodable
    func (z *BatchJobReplicateFlags) DecodeMsg(dc *msgp.Reader) (err error) {
    	var field []byte
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 40.7K bytes
    - Viewed (0)
  2. internal/config/drive/drive.go

    	MaxTimeout time.Duration `json:"maxTimeout"`
    }
    
    // Update - updates the config with latest values
    func (c *Config) Update(new Config) error {
    	configLk.Lock()
    	defer configLk.Unlock()
    	c.MaxTimeout = getMaxTimeout(new.MaxTimeout)
    	return nil
    }
    
    // GetMaxTimeout - returns the per call drive operation timeout
    func (c *Config) GetMaxTimeout() time.Duration {
    	return c.GetOPTimeout()
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/flags/flags.go

    // MultiFlag allows setting a value multiple times to collect a list, as in -I=dir1 -I=dir2.
    type MultiFlag []string
    
    func (m *MultiFlag) String() string {
    	if len(*m) == 0 {
    		return ""
    	}
    	return fmt.Sprint(*m)
    }
    
    func (m *MultiFlag) Set(val string) error {
    	(*m) = append(*m, val)
    	return nil
    }
    
    func Usage() {
    	fmt.Fprintf(os.Stderr, "usage: asm [options] file.s ...\n")
    	fmt.Fprintf(os.Stderr, "Flags:\n")
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 22 19:18:23 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  4. internal/config/identity/openid/providercfg.go

    	DiscoveryDoc       DiscoveryDoc
    	ClientID           string
    	ClientSecret       string
    	RolePolicy         string
    
    	roleArn  arn.ARN
    	provider provider.Provider
    }
    
    func newProviderCfgFromConfig(getCfgVal func(cfgName string) string) providerCfg {
    	return providerCfg{
    		DisplayName:        getCfgVal(DisplayName),
    		ClaimName:          getCfgVal(ClaimName),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/lex/lex.go

    )
    
    // IsRegisterShift reports whether the token is one of the ARM register shift operators.
    func IsRegisterShift(r ScanToken) bool {
    	return ROT <= r && r <= LSH // Order looks backwards because these are negative.
    }
    
    func (t ScanToken) String() string {
    	switch t {
    	case scanner.EOF:
    		return "EOF"
    	case scanner.Ident:
    		return "identifier"
    	case scanner.Int:
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 29 18:31:05 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  6. cmd/erasure-sets_test.go

    )
    
    var testUUID = uuid.MustParse("f5c58c61-7175-4018-ab5e-a94fe9c2de4e")
    
    func BenchmarkCrcHash(b *testing.B) {
    	cases := []struct {
    		key int
    	}{
    		{16},
    		{64},
    		{128},
    		{256},
    		{512},
    		{1024},
    	}
    	for _, testCase := range cases {
    		testCase := testCase
    		key := randString(testCase.key)
    		b.Run("", func(b *testing.B) {
    			b.SetBytes(1024)
    			b.ReportAllocs()
    			b.ResetTimer()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 12 07:21:56 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. src/bytes/example_test.go

    	// Output:
    	// true
    	// false
    }
    
    func ExampleEqualFold() {
    	fmt.Println(bytes.EqualFold([]byte("Go"), []byte("go")))
    	// Output: true
    }
    
    func ExampleFields() {
    	fmt.Printf("Fields are: %q", bytes.Fields([]byte("  foo bar  baz   ")))
    	// Output: Fields are: ["foo" "bar" "baz"]
    }
    
    func ExampleFieldsFunc() {
    	f := func(c rune) bool {
    		return !unicode.IsLetter(c) && !unicode.IsNumber(c)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 07 17:22:36 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  8. api/go1.22.txt

    pkg math/rand/v2, func ExpFloat64() float64 #61716
    pkg math/rand/v2, func Float32() float32 #61716
    pkg math/rand/v2, func Float64() float64 #61716
    pkg math/rand/v2, func Int() int #61716
    pkg math/rand/v2, func Int32() int32 #61716
    pkg math/rand/v2, func Int32N(int32) int32 #61716
    pkg math/rand/v2, func Int64() int64 #61716
    pkg math/rand/v2, func Int64N(int64) int64 #61716
    pkg math/rand/v2, func IntN(int) int #61716
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Jan 24 20:54:27 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. cmd/post-policy_test.go

    	retStr += conditionStr
    	retStr += "}"
    
    	return []byte(retStr)
    }
    
    // Wrapper
    func TestPostPolicyReservedBucketExploit(t *testing.T) {
    	ExecObjectLayerTestWithDirs(t, testPostPolicyReservedBucketExploit)
    }
    
    // testPostPolicyReservedBucketExploit is a test for the exploit fixed in PR
    // #16849
    func testPostPolicyReservedBucketExploit(obj ObjectLayer, instanceType string, dirs []string, t TestErrHandler) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  10. api/go1.20.txt

    pkg syscall (freebsd-riscv64), func CloseOnExec(int) #53466
    pkg syscall (freebsd-riscv64), func CmsgLen(int) int #53466
    pkg syscall (freebsd-riscv64), func CmsgSpace(int) int #53466
    pkg syscall (freebsd-riscv64), func Connect(int, Sockaddr) error #53466
    pkg syscall (freebsd-riscv64), func Dup(int) (int, error) #53466
    pkg syscall (freebsd-riscv64), func Dup2(int, int) error #53466
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Feb 17 21:23:32 UTC 2023
    - 602.6K bytes
    - Viewed (0)
Back to top