Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 3,188 for Create (0.17 sec)

  1. cmd/admin-handlers-users_test.go

    	if err == nil {
    		c.Fatalf("user was unexpectedly able to create bucket with bad password!")
    	}
    	// 3.10.2 Check that new password works.
    	client = s.getUserClient(c, accessKey, newSecretKey, "")
    	err = client.MakeBucket(ctx, getRandomBucketName(), minio.MakeBucketOptions{})
    	if err != nil {
    		c.Fatalf("user could not create bucket: %v", err)
    	}
    
    	// 4. Check that user can be disabled and verify it.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 12 16:36:16 GMT 2024
    - 45.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java

        tester.testAllPublicStaticMethods(AtomicLongMap.class);
        AtomicLongMap<Object> map = AtomicLongMap.create();
        tester.testAllPublicInstanceMethods(map);
      }
    
      public void testCreate_map() {
        Map<String, Long> in = ImmutableMap.of("1", 1L, "2", 2L, "3", 3L);
        AtomicLongMap<String> map = AtomicLongMap.create(in);
        assertFalse(map.isEmpty());
        assertEquals(3, map.size());
        assertTrue(map.containsKey("1"));
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 17.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableBiMapFloodingTest.java

                            keys ->
                                path.create(
                                    Lists.transform(keys, key -> Maps.immutableEntry(key, key)))))
                .collect(ImmutableList.toImmutableList()),
            n -> n * Math.log(n),
            ImmutableList.of(
                QueryOp.create("BiMap.get", BiMap::get, Math::log),
                QueryOp.create("BiMap.inverse.get", (bm, o) -> bm.inverse().get(o), Math::log)));
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 21:01:39 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      public void testCompletionOrder() throws Exception {
        SettableFuture<Long> future1 = SettableFuture.create();
        SettableFuture<Long> future2 = SettableFuture.create();
        SettableFuture<Long> future3 = SettableFuture.create();
        SettableFuture<Long> future4 = SettableFuture.create();
        SettableFuture<Long> future5 = SettableFuture.create();
    
        ImmutableList<ListenableFuture<Long>> futures =
            inCompletionOrder(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/SynchronizedQueueTest.java

      public void testHoldsLockOnAllOperations() {
        create().element();
        create().offer("foo");
        create().peek();
        create().poll();
        create().remove();
        create().add("foo");
        create().addAll(ImmutableList.of("foo"));
        create().clear();
        create().contains("foo");
        create().containsAll(ImmutableList.of("foo"));
        create().equals(new ArrayDeque<>(ImmutableList.of("foo")));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/TestUnhashableCollectionGenerator.java

      }
    
      @Override
      public T create(Object... elements) {
        UnhashableObject[] array = createArray(elements.length);
        int i = 0;
        for (Object e : elements) {
          array[i++] = (UnhashableObject) e;
        }
        return create(array);
      }
    
      /**
       * Creates a new collection containing the given elements; implement this method instead of {@link
       * #create(Object...)}.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        suite.addTest(
            QueueTestSuiteBuilder.using(
                    new TestStringQueueGenerator() {
                      @Override
                      protected Queue<String> create(String[] elements) {
                        return MinMaxPriorityQueue.create(Arrays.asList(elements));
                      }
                    })
                .named("MinMaxPriorityQueue")
                .withFeatures(CollectionSize.ANY, CollectionFeature.GENERAL_PURPOSE)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/internal/impl/AbstractSession.java

         *
         * @see ArtifactCoordinateFactory#create(Session, String)
         */
        @Override
        public ArtifactCoordinate createArtifactCoordinate(String coordString) {
            return getService(ArtifactCoordinateFactory.class).create(this, coordString);
        }
    
        /**
         * Shortcut for <code>getService(CoordinateFactory.class).create(...)</code>
         *
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 21.7K bytes
    - Viewed (0)
  9. tests/postgres_test.go

    	}
    
    	if err := DB.Exec("CREATE EXTENSION IF NOT EXISTS pgcrypto;").Error; err != nil {
    		t.Errorf("Failed to create extension pgcrypto, got error %v", err)
    	}
    
    	DB.Migrator().DropTable(&Yasuo{})
    
    	if err := DB.AutoMigrate(&Yasuo{}); err != nil {
    		t.Fatalf("Failed to migrate for uuid default value, got error: %v", err)
    	}
    
    	yasuo := Yasuo{Name: "jinzhu"}
    	if err := DB.Create(&yasuo).Error; err != nil {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Sat Oct 08 09:16:32 GMT 2022
    - 6.4K bytes
    - Viewed (3)
  10. tests/customize_field_test.go

    			FieldReadonly:    name + "_allow_readonly",
    			FieldIgnore:      name + "_allow_ignore",
    		}
    	}
    
    	create := generateStruct("create")
    	DB.Create(&create)
    
    	var result CustomizeFieldStruct
    	DB.Find(&result, "name = ?", "create")
    
    	AssertObjEqual(t, result, create, "Name", "FieldAllowCreate", "FieldAllowSave", "FieldAllowSave2")
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Sep 11 09:33:31 GMT 2020
    - 6.9K bytes
    - Viewed (0)
Back to top