Search Options

Results per page
Sort
Preferred Languages
Advance

Results 511 - 520 of 782 for oranges (0.07 sec)

  1. internal/crypto/sse_test.go

    		},
    		ExpectedErr: ErrMissingCustomerKeyMD5,
    	},
    }
    
    func TestSSECUnsealObjectKey(t *testing.T) {
    	for i, test := range ssecUnsealObjectKeyTests {
    		if _, err := SSEC.UnsealObjectKey(test.Headers, test.Metadata, test.Bucket, test.Object); err != test.ExpectedErr {
    			t.Errorf("Test %d: got: %v - want: %v", i, err, test.ExpectedErr)
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 8.4K bytes
    - Viewed (0)
  2. cmd/admin-handlers-config-kv.go

    		return
    	}
    
    	cfg := globalServerConfig.Clone()
    
    	var s strings.Builder
    	hkvs := config.HelpSubSysMap[""]
    	for _, hkv := range hkvs {
    		// We ignore the error below, as we cannot get one.
    		cfgSubsysItems, _ := cfg.GetSubsysInfo(hkv.Key, "", false)
    
    		for _, item := range cfgSubsysItems {
    			off := item.Config.Get(config.Enable) == config.EnableOff
    			switch hkv.Key {
    			case config.EtcdSubSys:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  3. internal/config/etcd/etcd_test.go

    			[]string{
    				"https://localhost:2379", "https://localhost:2380",
    			},
    			true, true,
    		},
    		{"http://localhost:2379", []string{"http://localhost:2379"}, false, true},
    	}
    
    	for _, testCase := range testCases {
    		testCase := testCase
    		t.Run(testCase.s, func(t *testing.T) {
    			endpoints, secure, err := parseEndpoints(testCase.s)
    			if err != nil && testCase.success {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  4. internal/rest/client_test.go

    			want: true,
    		},
    		{
    			name: "net.Error-unmatched",
    			err:  errors.New("something"),
    			want: false,
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			// Wrap error
    			n := &NetworkError{
    				Err: tt.err,
    			}
    			//nolint:gocritic
    			if tt.target == nil {
    				var netErrInterface net.Error
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 16 17:28:29 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  5. cmd/metrics-v2_test.go

    		},
    		{
    			val:   0.61,
    			label: labels[3],
    		},
    		{
    			val:   0.79,
    			label: labels[2],
    		},
    	}
    	ticker := time.NewTicker(1 * time.Millisecond)
    	defer ticker.Stop()
    	for _, obs := range observations {
    		// Send observations once every 1ms, to simulate delay between
    		// observations. This is to test the channel based
    		// synchronization used internally.
    		select {
    		case <-ticker.C:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Mar 04 18:05:56 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. cmd/iam-object-store_test.go

    		},
    		{
    			"policydb/groups/cn=project/d,ou=groups,ou=swengg,dc=min,dc=io.json", true,
    			"policydb/groups/", "cn=project/d,ou=groups,ou=swengg,dc=min,dc=io.json",
    		},
    	}
    	for i, test := range cases {
    		listKey, item := splitPath(test.path, test.secondIndex)
    		if listKey != test.expectedListKey || item != test.expectedItem {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. cmd/site-replication_test.go

    		},
    		// Test3: not currently under site replication.
    		{
    			[]madmin.PeerInfo{},
    			set.CreateStringSet(),
    			set.CreateStringSet("dep1", "dep2", "dep3", "dep4"),
    			[]string{},
    		},
    	}
    
    	for i, tc := range testCases {
    		names := getMissingSiteNames(tc.oldDepIDs, tc.newDepIDs, tc.currSites)
    		if len(names) != len(tc.expNames) {
    			t.Errorf("Test %d: Expected `%v`, got `%v`", i+1, tc.expNames, names)
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 20 00:53:08 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  8. src/main/webapp/css/admin/bootstrap.min.css.map

    color: transparent; // Why?\n    cursor: $custom-range-track-cursor;\n    background-color: $custom-range-track-bg;\n    border-color: transparent;\n    @include border-radius($custom-range-track-border-radius);\n    @include box-shadow($custom-range-track-box-shadow);\n  }\n\n  &::-moz-range-thumb {\n    width: $custom-range-thumb-width;\n    height: $custom-range-thumb-height;\n    @include gradient-bg($custom-range-thumb-bg);\n    border: $custom-range-thumb-border;\n    @include border-radius($cu...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 639.3K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleJavadocsPlugin.java

    import javax.inject.Inject;
    import java.io.File;
    
    /**
     * Generates Javadocs in a particular way.
     *
     * TODO: We should remove the workarounds here and migrate some of the changes here into the Javadoc task proper.
     */
    public abstract class GradleJavadocsPlugin implements Plugin<Project> {
    
        @Inject
        protected abstract FileSystemOperations getFs();
    
        @Override
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Aug 20 14:11:17 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  10. src/bytes/buffer.go

    // only until the next call to a method like [Buffer.Read], [Buffer.Write], [Buffer.Reset], or [Buffer.Truncate]).
    // The slice aliases the buffer content at least until the next buffer modification,
    // so immediate changes to the slice will affect the result of future reads.
    func (b *Buffer) Bytes() []byte { return b.buf[b.off:] }
    
    // AvailableBuffer returns an empty buffer with b.Available() capacity.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Oct 29 16:47:05 UTC 2024
    - 15.7K bytes
    - Viewed (0)
Back to top