Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 36 of 36 for future (0.16 sec)

  1. guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertEquals("b", consumingIterator.next());
        assertThat(list).isEmpty();
    
        assertFalse(consumingIterator.hasNext());
      }
    
      @GwtIncompatible // ?
      // TODO: Figure out why this is failing in GWT.
      public void testConsumingIterator_duelingIterators() {
        // Test data
        List<String> list = Lists.newArrayList("a", "b");
    
        // Test & Verify
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 55.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/reflect/TypeToken.java

          Type subtypeParam = getCovariantTypeResolver().resolveType(typeVars[i]);
          // If 'supertype' is "List<? extends CharSequence>"
          // and 'this' is StringArrayList,
          // First step is to figure out StringArrayList "is-a" List<E> where <E> = String.
          // String is then matched against <? extends CharSequence>, the supertypeArgs[0].
          if (!of(subtypeParam).is(supertypeArgs[i], typeVars[i])) {
            return false;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 53.6K bytes
    - Viewed (0)
  3. cmd/bucket-handlers.go

    		writeErrorResponse(ctx, w, apiErr, r.URL)
    		return
    	}
    
    	formValues.Set("Bucket", bucket)
    	if fileName != "" && strings.Contains(formValues.Get("Key"), "${filename}") {
    		// S3 feature to replace ${filename} found in Key form field
    		// by the filename attribute passed in multipart
    		formValues.Set("Key", strings.ReplaceAll(formValues.Get("Key"), "${filename}", fileName))
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
  4. tests/migrate_test.go

    	}
    }
    
    func TestTiDBMigrateColumns(t *testing.T) {
    	if !isTiDB() {
    		t.Skip()
    	}
    
    	// TiDB can't change column constraint and has auto_random feature
    	type ColumnStruct struct {
    		ID    int `gorm:"primarykey;default:auto_random()"`
    		Name  string
    		Age   int    `gorm:"default:18;comment:my age"`
    		Code  string `gorm:"unique;comment:my code;"`
    		Code2 string
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Mar 18 11:24:16 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

    namespace tensorflow {
    namespace {
    
    using ::tensorflow::error::Code;
    
    // As we need to test multiple URI schemes we need a parameterized test.
    // Furthermore, since each test creates and deletes files, we will use the same
    // fixture to create new directories in `SetUp`. Each directory will reside in
    // `::testing::TempDir()`, will use a RNG component and the test name. This
    // ensures that two consecutive runs are unlikely to clash.
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/HttpUrlTest.kt

        // four-per-em space
        assertThat(parse("http://h/\u2005").encodedPath).isEqualTo("/%E2%80%85")
        // six-per-em space
        assertThat(parse("http://h/\u2006").encodedPath).isEqualTo("/%E2%80%86")
        // figure space
        assertThat(parse("http://h/\u2007").encodedPath).isEqualTo("/%E2%80%87")
        // punctuation space
        assertThat(parse("http://h/\u2008").encodedPath).isEqualTo("/%E2%80%88")
        // thin space
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 67.9K bytes
    - Viewed (0)
Back to top