Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 1,903 for Recreate (0.07 sec)

  1. tests/benchmark_test.go

    	for x := 0; x < b.N; x++ {
    		user.ID = 0
    		DB.Create(&user)
    	}
    }
    
    func BenchmarkFind(b *testing.B) {
    	user := *GetUser("find", Config{})
    	DB.Create(&user)
    
    	for x := 0; x < b.N; x++ {
    		DB.Find(&User{}, "id = ?", user.ID)
    	}
    }
    
    func BenchmarkScan(b *testing.B) {
    	user := *GetUser("scan", Config{})
    	DB.Create(&user)
    
    	var u User
    	b.ResetTimer()
    	for x := 0; x < b.N; x++ {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 01 03:50:57 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/TreeBasedTableTest.java

      protected TreeBasedTable<String, Integer, Character> create(@Nullable Object... data) {
        TreeBasedTable<String, Integer, Character> table = TreeBasedTable.create();
        table.put("foo", 4, 'a');
        table.put("cat", 1, 'b');
        table.clear();
        populate(table, data);
        return table;
      }
    
      public void testCreateExplicitComparators() {
        table = TreeBasedTable.create(Collections.reverseOrder(), Ordering.usingToString());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 15K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/MultisetsCollectionTest.java

        return new TestStringMultisetGenerator() {
          @Override
          protected Multiset<String> create(String[] elements) {
            Multiset<String> multiset1 = LinkedHashMultiset.create();
            Multiset<String> multiset2 = LinkedHashMultiset.create();
            for (int i = 0; i < elements.length; i++) {
              String element = elements[i];
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/net/MediaTypeTest.java

            .addEqualityGroup(
                MediaType.create("text", "plain").withParameter("a", "value"),
                MediaType.create("text", "plain").withParameter("A", "value"))
            .addEqualityGroup(
                MediaType.create("text", "plain").withParameter("a", "VALUE"),
                MediaType.create("text", "plain").withParameter("A", "VALUE"))
            .addEqualityGroup(
                MediaType.create("text", "plain")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  5. helm-releases/minio-3.2.0.tgz

    ocs/concepts/workloads/pods/disruptions/ ## podDisruptionBudget: enabled: false maxUnavailable: 1 ## Specify the service account to use for the Minio pods. If 'create' is set to 'false' ## and 'name' is left unspecified, the account 'default' will be used. serviceAccount: create: true ## The name of the service account to use. If 'create' is 'true', a service account with that name ## will be created. name: "minio-sa" metrics: serviceMonitor: enabled: false additionalLabels: {} public: true # namespace:...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 13 02:16:24 UTC 2021
    - 14.6K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

        return emptySet();
      }
    
      public Test testsForEmptySet() {
        return SetTestSuiteBuilder.using(
                new TestStringSetGenerator() {
                  @Override
                  public Set<String> create(String[] elements) {
                    return emptySet();
                  }
                })
            .named("emptySet")
            .withFeatures(CollectionFeature.SERIALIZABLE, CollectionSize.ZERO)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 15K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/TreeRangeSetTest.java

        testInvariants(TreeRangeSet.create());
      }
    
      public void testEmptyIntersecting() {
        testIntersects(TreeRangeSet.<Integer>create());
        testIntersects(TreeRangeSet.<Integer>create().complement());
      }
    
      public void testAllSingleRangesIntersecting() {
        for (Range<Integer> range : QUERY_RANGES) {
          TreeRangeSet<Integer> rangeSet = TreeRangeSet.create();
          rangeSet.add(range);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  8. cmd/iam-etcd-store.go

    						// Upon an error on watch channel
    						// re-init the watch channel.
    						goto outerLoop
    					}
    					for _, event := range watchResp.Events {
    						isCreateEvent := event.IsModify() || event.IsCreate()
    						isDeleteEvent := event.Type == etcd.EventTypeDelete
    
    						switch {
    						case isCreateEvent:
    							ch <- iamWatchEvent{
    								isCreated: true,
    								keyPath:   string(event.Kv.Key),
    							}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 01:29:20 UTC 2024
    - 14K bytes
    - Viewed (0)
  9. android/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"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java

                    new TestStringSetMultimapGenerator() {
                      @Override
                      protected SetMultimap<String, String> create(Entry<String, String>[] entries) {
                        SetMultimap<String, String> multimap = LinkedHashMultimap.create();
                        for (Entry<String, String> entry : entries) {
                          multimap.put(entry.getKey(), entry.getValue());
                        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.6K bytes
    - Viewed (0)
Back to top