Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 801 - 810 of 860 for foo2 (0.02 seconds)

  1. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

     * returned.
     *
     * <p>All default instances returned by {@link #get} are generics-safe. Clients won't get type
     * errors for using {@code get(Comparator.class)} as a {@code Comparator<Foo>}, for example.
     * Immutable empty instances are returned for collection types; {@code ""} for string; {@code 0} for
     * number types; reasonable default instance for other stateless types. For mutable types, a fresh
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 21.4K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

        }
    
        @ParameterizedTest
        @DisplayName("queryLookup extracts values case-insensitively")
        @CsvSource({ "a=1&b=2,a,1", "A=1&a=2,a,1", // first match before next param
                "x=foo&Server=name,server,name", "paramOnly=,paramOnly,''", "noeq&other=1,other,1" })
        void testQueryLookup(String query, String key, String expected) {
            // No context mocks needed for static method test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.6K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

     * returned.
     *
     * <p>All default instances returned by {@link #get} are generics-safe. Clients won't get type
     * errors for using {@code get(Comparator.class)} as a {@code Comparator<Foo>}, for example.
     * Immutable empty instances are returned for collection types; {@code ""} for string; {@code 0} for
     * number types; reasonable default instance for other stateless types. For mutable types, a fresh
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 20.9K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

            ClosingFuture.submit(
                closer -> {
                  closer.eventuallyClose(autoCloseable, closingExecutor);
                  return "foo";
                },
                executor);
        assertThat(getFinalValue(closingFuture)).isEqualTo("foo");
        waitUntilClosed(closingFuture);
        assertClosed(closeable1);
      }
    
      public void testStatusFuture() throws Exception {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 63K bytes
    - Click Count (0)
  5. cmd/endpoint.go

    		}
    
    		// As this is path in the URL, we should use path package, not filepath package.
    		// On MS Windows, filepath.Clean() converts into Windows path style ie `/foo` becomes `\foo`
    		u.Path = path.Clean(u.Path)
    		if isEmptyPath(u.Path) {
    			return ep, fmt.Errorf("empty or root path is not supported in URL endpoint")
    		}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 34.5K bytes
    - Click Count (0)
  6. gorm.go

    		return err
    	}
    	db.Plugins[name] = plugin
    	return nil
    }
    
    // ToSQL for generate SQL string.
    //
    //	db.ToSQL(func(tx *gorm.DB) *gorm.DB {
    //			return tx.Model(&User{}).Where(&User{Name: "foo", Age: 20})
    //				.Limit(10).Offset(5)
    //				.Order("name ASC")
    //				.First(&User{})
    //	})
    func (db *DB) ToSQL(queryFn func(tx *DB) *DB) string {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/collect/ImmutableListTest.java

      }
    
      @GwtIncompatible // builder internals
      public void testReusedBuilder() {
        ImmutableList.Builder<String> builder = new ImmutableList.Builder<String>();
        for (int i = 0; i < 10; i++) {
          builder.add("foo");
        }
        builder.add("bar");
        RegularImmutableList<String> list = (RegularImmutableList<String>) builder.build();
        builder.add("baz");
        assertTrue(list.array != builder.contents);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 24.4K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

                .expireAfterWrite(15L, SECONDS);
        assertCacheBuilderEquivalence(expected, CacheBuilder.from(spec));
      }
    
      public void testParse_unknownKey() {
        assertThrows(IllegalArgumentException.class, () -> parse("foo=17"));
      }
    
      public void testParse_extraCommaIsInvalid() {
        assertThrows(IllegalArgumentException.class, () -> parse("weakKeys,"));
    
        assertThrows(IllegalArgumentException.class, () -> parse(",weakKeys"));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 20.8K bytes
    - Click Count (0)
  9. cmd/erasure-healing-common_test.go

    	partsMetadata[0] = partsMetadataBackup // Revert before going to the next test
    
    	// Test 3: Not synchronized DataDir
    	erasureDisks = s.getDisks()
    	partsMetadataBackup = partsMetadata[1]
    	partsMetadata[1].DataDir = "foo-random"
    
    	errs = make([]error, len(erasureDisks))
    	_, _ = checkObjectWithAllParts(ctx, erasureDisks, partsMetadata,
    		errs, fi, false, bucket, object, madmin.HealDeepScan)
    
    	for diskIndex, disk := range erasureDisks {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 22.4K bytes
    - Click Count (0)
  10. api/maven-api-model/src/main/mdo/maven.mdo

                then this value modifies the directory where the files will be copied.
                For example, if a Java module name is "foo.biz", then the {@code foo/bar.properties}
                resource file will be copied as {@code foo.biz/foo/bar.properties}.</p>
    
                <p>This element can be combined with the {@code targetVersion} element for specifying sources,
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 17 09:48:21 GMT 2026
    - 133.5K bytes
    - Click Count (0)
Back to Top