Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 2,396 for create (0.2 sec)

  1. tests/preload_test.go

    		Account:   true,
    		Pets:      2,
    		Toys:      3,
    		Company:   true,
    		Manager:   true,
    		Team:      4,
    		Languages: 3,
    		Friends:   1,
    	})
    
    	if err := DB.Create(&user).Error; err != nil {
    		t.Fatalf("errors happened when create: %v", err)
    	}
    
    	CheckUser(t, user, user)
    
    	var user2 User
    	DB.Preload(clause.Associations).Find(&user2, "id = ?", user.ID)
    	CheckUser(t, user2, user)
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:00:47 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

        return emptySet();
      }
    
      public Test testsForEmptyList() {
        return ListTestSuiteBuilder.using(
                new TestStringListGenerator() {
                  @Override
                  public List<String> create(String[] elements) {
                    return emptyList();
                  }
                })
            .named("emptyList")
            .withFeatures(CollectionFeature.SERIALIZABLE, CollectionSize.ZERO)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java

          }
        },
        PRIORITY_QUEUE {
          @Override
          public Queue<Integer> create(Comparator<Integer> comparator) {
            return new PriorityQueue<>(11, comparator);
          }
        },
        INVERTED_MIN_MAX {
          @Override
          public Queue<Integer> create(Comparator<Integer> comparator) {
            return new InvertedMinMaxPriorityQueue<>(comparator);
          }
        };
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  4. helm-releases/minio-3.6.4.tgz

    uptions/ ## 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 public: true additionalLabels: {} relabelConfigs: {} # namespace: monitoring...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Apr 12 01:30:28 UTC 2022
    - 17.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/HashMultisetTest.java

        return new TestStringMultisetGenerator() {
          @Override
          protected Multiset<String> create(String[] elements) {
            return HashMultiset.create(asList(elements));
          }
        };
      }
    
      public void testCreate() {
        Multiset<String> multiset = HashMultiset.create();
        multiset.add("foo", 2);
        multiset.add("bar");
        assertEquals(3, multiset.size());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. cmd/peer-s3-server.go

    		bi := BucketInfo{
    			Name:    v.Name,
    			Created: v.Created,
    		}
    		if vi, ok := deletedBuckets[v.Name]; ok {
    			bi.Deleted = vi.Created
    		}
    		buckets = append(buckets, bi)
    	}
    
    	for _, v := range deletedBuckets {
    		if _, ok := healBuckets[v.Name]; !ok {
    			buckets = append(buckets, BucketInfo{
    				Name:    v.Name,
    				Deleted: v.Created,
    			})
    		}
    	}
    
    	return buckets, nil
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapEqualsTester.java

      public void testOrderingDoesntAffectEqualsComparisons() {
        SetMultimap<K, V> multimap1 =
            getSubjectGenerator()
                .create(mapEntry(k0(), v0()), mapEntry(k0(), v1()), mapEntry(k0(), v4()));
        SetMultimap<K, V> multimap2 =
            getSubjectGenerator()
                .create(mapEntry(k0(), v1()), mapEntry(k0(), v0()), mapEntry(k0(), v4()));
        new EqualsTester().addEqualityGroup(multimap1, multimap2).testEquals();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. 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(asList(elements));
                      }
                    })
                .named("MinMaxPriorityQueue")
                .withFeatures(CollectionSize.ANY, CollectionFeature.GENERAL_PURPOSE)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/HashMultimapTest.java

        assertThrows(IllegalArgumentException.class, () -> HashMultimap.create(-20, 15));
    
        assertThrows(IllegalArgumentException.class, () -> HashMultimap.create(20, -15));
      }
    
      public void testEmptyMultimapsEqual() {
        Multimap<String, Integer> setMultimap = HashMultimap.create();
        Multimap<String, Integer> listMultimap = ArrayListMultimap.create();
        assertTrue(setMultimap.equals(listMultimap));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/HashMultimapTest.java

        assertThrows(IllegalArgumentException.class, () -> HashMultimap.create(-20, 15));
    
        assertThrows(IllegalArgumentException.class, () -> HashMultimap.create(20, -15));
      }
    
      public void testEmptyMultimapsEqual() {
        Multimap<String, Integer> setMultimap = HashMultimap.create();
        Multimap<String, Integer> listMultimap = ArrayListMultimap.create();
        assertTrue(setMultimap.equals(listMultimap));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top