Search Options

Results per page
Sort
Preferred Languages
Advance

Results 711 - 720 of 2,392 for creaste (0.07 sec)

  1. guava-testlib/src/com/google/common/collect/testing/testers/SetCreationTester.java

      }
    
      @CollectionFeature.Require(REJECTS_DUPLICATES_AT_CREATION)
      @CollectionSize.Require(absent = {ZERO, ONE})
      public void testCreateWithDuplicates_nonNullDuplicatesRejected() {
        E[] array = createSamplesArray();
        array[1] = e0();
        assertThrows(
            IllegalArgumentException.class, () -> collection = getSubjectGenerator().create(array));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableBiMap.java

       * build multiple bimaps in series. Each bimap is a superset of the bimaps created before it.
       *
       * @since 2.0
       */
      public static final class Builder<K, V> extends ImmutableMap.Builder<K, V> {
        /**
         * Creates a new builder. The returned builder is equivalent to the builder generated by {@link
         * ImmutableBiMap#builder}.
         */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  3. cni/test/install_cni.go

    }
    
    // create an install server instance and run it, blocking until it gets terminated
    // via context cancellation
    func startInstallServer(ctx context.Context, serverConfig *config.Config, t *testing.T) {
    	readyFlag := &atomic.Value{}
    	installer := install.NewInstaller(&serverConfig.InstallConfig, readyFlag)
    
    	t.Logf("CNI installer created, watching...")
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  4. docs/changelogs/upgrading_to_okhttp_4.md

    | RequestBody.create(ByteArray)       | ByteArray.toRequestBody()       |
    | RequestBody.create(ByteString)      | ByteString.toRequestBody()      |
    | RequestBody.create(File)            | File.asRequestBody()            |
    | RequestBody.create(String)          | String.toRequestBody()          |
    | ResponseBody.create(BufferedSource) | BufferedSource.asResponseBody() |
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 16:58:16 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  5. tests/joins_test.go

    		return
    	}
    }
    
    func TestJoinCount(t *testing.T) {
    	companyA := Company{Name: "A"}
    	companyB := Company{Name: "B"}
    	DB.Create(&companyA)
    	DB.Create(&companyB)
    
    	user := User{Name: "kingGo", CompanyID: &companyB.ID}
    	DB.Create(&user)
    
    	query := DB.Model(&User{}).Joins("Company")
    
    	var total int64
    	query.Count(&total)
    
    	var result User
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 17 03:58:13 UTC 2024
    - 15K bytes
    - Viewed (0)
  6. tests/update_many2many_test.go

    	user := *GetUser("update-many2many", Config{})
    
    	if err := DB.Create(&user).Error; err != nil {
    		t.Fatalf("errors happened when create: %v", err)
    	}
    
    	user.Languages = []Language{{Code: "zh-CN", Name: "Chinese"}, {Code: "en", Name: "English"}}
    	for _, lang := range user.Languages {
    		DB.Create(&lang)
    	}
    	user.Friends = []*User{{Name: "friend-1"}, {Name: "friend-2"}}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/SingletonImmutableTableTest.java

      }
    
      public void testEqualsObject() {
        new EqualsTester()
            .addEqualityGroup(testTable, HashBasedTable.create(testTable))
            .addEqualityGroup(ImmutableTable.of(), HashBasedTable.create())
            .addEqualityGroup(HashBasedTable.create(ImmutableTable.of('A', 2, "")))
            .testEquals();
      }
    
      @GwtIncompatible // ArrayTable
      public void testEqualsObjectNullValues() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/TestStringQueueGenerator.java

    import java.util.Queue;
    
    /**
     * Create queue of strings for tests.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class TestStringQueueGenerator implements TestQueueGenerator<String> {
      @Override
      public SampleElements<String> samples() {
        return new Strings();
      }
    
      @Override
      public Queue<String> create(Object... elements) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

        String username;
        String password;
        byte[] ansiHash;
        byte[] unicodeHash;
        boolean hashesExternal = false;
        byte[] clientChallenge = null;
        byte[] challenge = null;
    
    /**
     * Create an <tt>NtlmPasswordAuthentication</tt> object from the userinfo
     * component of an SMB URL like "<tt>domain;user:pass</tt>". This constructor
     * is used internally be jCIFS when parsing SMB URLs.
     */
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 22.5K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/advanced-dependencies.md

    {* ../../docs_src/dependencies/tutorial011_an_py39.py hl[9] *}
    
    In this case, **FastAPI** won't ever touch or care about `__init__`, we will use it directly in our code.
    
    ## Create an instance
    
    We could create an instance of this class with:
    
    {* ../../docs_src/dependencies/tutorial011_an_py39.py hl[18] *}
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:10:15 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top