Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 500 for intializer (0.07 sec)

  1. internal/kms/secret-key_test.go

    	"context"
    	"encoding/base64"
    	"testing"
    )
    
    func TestSingleKeyRoundtrip(t *testing.T) {
    	KMS, err := ParseSecretKey("my-key:eEm+JI9/q4JhH8QwKvf3LKo4DEBl6QbfvAl1CAbMIv8=")
    	if err != nil {
    		t.Fatalf("Failed to initialize KMS: %v", err)
    	}
    
    	key, err := KMS.GenerateKey(context.Background(), &GenerateKeyRequest{Name: "my-key"})
    	if err != nil {
    		t.Fatalf("Failed to generate key: %v", err)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. cmd/bucket-handlers_test.go

    	// if object upload fails stop the test.
    	if err != nil {
    		t.Fatalf("Error uploading object: <ERROR> %v", err)
    	}
    
    	// initialize httptest Recorder, this records any mutations to response writer inside the handler.
    	rec := httptest.NewRecorder()
    	// construct HTTP request for DELETE bucket.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/Striped.java

     * Striped<Semaphore>}, and {@linkplain #readWriteLock(int) strong} and {@linkplain
     * #lazyWeakReadWriteLock(int) weak} {@code Striped<ReadWriteLock>}. <i>Strong</i> means that all
     * stripes (locks/semaphores) are initialized eagerly, and are not reclaimed unless {@code Striped}
     * itself is reclaimable. <i>Weak</i> means that locks/semaphores are created lazily, and they are
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 26 12:58:35 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/message/MessageFormatterTest.java

            DisposableUtil.dispose();
            assertThat(MessageFormatter.initialized, is(not(true)));
    
            MessageFormatter.getMessage("EMSG0000");
            assertThat(MessageFormatter.initialized, is(true));
    
            DisposableUtil.dispose();
            assertThat(MessageFormatter.initialized, is(not(true)));
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. internal/config/lambda/config.go

    // information about various lambda targets.
    type Config struct {
    	Webhook map[string]target.WebhookArgs `json:"webhook"`
    }
    
    const (
    	defaultTarget = "1"
    )
    
    // NewConfig - initialize lambda config.
    func NewConfig() Config {
    	// Make sure to initialize lambda targets
    	cfg := Config{
    		Webhook: make(map[string]target.WebhookArgs),
    	}
    	cfg.Webhook[defaultTarget] = target.WebhookArgs{}
    	return cfg
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 07 16:12:41 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  6. schema/schema.go

    		namer:            namer,
    		initialized:      make(chan struct{}),
    	}
    	// When the schema initialization is completed, the channel will be closed
    	defer close(schema.initialized)
    
    	// Load exist schema cache, return if exists
    	if v, ok := cacheStore.Load(schemaCacheKey); ok {
    		s := v.(*Schema)
    		// Wait for the initialization of other goroutines to complete
    		<-s.initialized
    		return s, s.err
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jun 20 12:19:31 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  7. cmd/xl-storage_unix_test.go

    func TestIsValidUmaskVol(t *testing.T) {
    	tmpPath := t.TempDir()
    	testCases := []struct {
    		volName       string
    		expectedUmask int
    	}{
    		{"is-this-valid", getUmask()},
    	}
    	testCase := testCases[0]
    
    	// Initialize a new xlStorage layer.
    	disk, err := newLocalXLStorage(tmpPath)
    	if err != nil {
    		t.Fatalf("Initializing xlStorage failed with %s.", err)
    	}
    
    	// Attempt to create a volume to verify the permissions later.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 25 19:37:26 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/TransformerContextBuilder.java

    @Deprecated(since = "4.0.0")
    public interface TransformerContextBuilder {
        /**
         * This method is used to initialize the TransformerContext
         *
         * @param request the modelBuildingRequest
         * @param problems the problemCollector
         * @return the mutable transformerContext
         */
        TransformerContext initialize(ModelBuildingRequest request, ModelProblemCollector problems);
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            CliRequest request = new CliRequest(new String[0], null);
    
            // read .mvn/maven.config
            cli.initialize(request);
            cli.cli(request);
            assertEquals("multithreaded", request.commandLine.getOptionValue(CLIManager.BUILDER));
            assertEquals("8", request.commandLine.getOptionValue(CLIManager.THREADS));
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/MultimapBuilder.java

      public static MultimapBuilderWithKeys<@Nullable Object> hashKeys() {
        return hashKeys(DEFAULT_EXPECTED_KEYS);
      }
    
      /**
       * Uses a hash table to map keys to value collections, initialized to expect the specified number
       * of keys.
       *
       * @throws IllegalArgumentException if {@code expectedKeys < 0}
       */
      public static MultimapBuilderWithKeys<@Nullable Object> hashKeys(int expectedKeys) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 17.5K bytes
    - Viewed (0)
Back to top