- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 35 for Draining (0.06 seconds)
-
android/guava-tests/test/com/google/common/base/OptionalTest.java
public void testIsPresent_yes() { assertTrue(Optional.of("training").isPresent()); } public void testGet_absent() { Optional<String> optional = Optional.absent(); assertThrows(IllegalStateException.class, optional::get); } public void testGet_present() { assertThat(Optional.of("training").get()).isEqualTo("training"); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 10.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/PurgeThumbnailJobTest.java
@Test public void test_expiry_validValue() { long newExpiry = 60L * 24 * 60 * 60 * 1000L; // 60 days PurgeThumbnailJob result = purgeThumbnailJob.expiry(newExpiry); // Test method chaining assertSame(purgeThumbnailJob, result); // Test value was set assertEquals(newExpiry, purgeThumbnailJob.getExpiry()); } // Test expiry setter with zero value (should not change)Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 7.4K bytes - Click Count (0) -
RELEASE.md
[`tf.distribute.Strategy`](https://www.tensorflow.org/beta/guide/distribute_strategy) API to distribute training with minimal code changes, yielding great out-of-the-box performance. It supports distributed training with Keras model.fit, as well as with custom training loops. Multi-GPU support is available, along with experimental support for multi worker and Cloud TPUs. Check out theCreated: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Mon Mar 30 18:31:38 GMT 2026 - 746.5K bytes - Click Count (3) -
guava-tests/test/com/google/common/base/SplitterTest.java
assertThat(letters).containsExactly("a", "", " b", "c").inOrder(); } public void testCharacterSplitWithTrailingDelimiter() { String trailing = "a,b,c,"; Iterable<String> letters = COMMA_SPLITTER.split(trailing); assertThat(letters).containsExactly("a", "b", "c", "").inOrder(); } public void testCharacterSplitWithLeadingDelimiter() { String leading = ",a,b,c";
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 29.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/CharSinkTester.java
String expected = expectedLines.isEmpty() ? "" : Joiner.on(separator).join(expectedLines); if (!lines.isEmpty()) { // if we wrote any lines in writeLines(), there will be a trailing newline expected += separator; } assertThat(factory.getSinkContents()).isEqualTo(expected); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 4.5K bytes - Click Count (0) -
.pre-commit-config.yaml
- id: check-added-large-files args: ['--maxkb=750'] exclude: ^uv.lock$ - id: check-toml - id: check-yaml args: - --unsafe - id: end-of-file-fixer - id: trailing-whitespace - repo: local hooks: - id: local-ruff-check name: ruff check entry: uv run ruff check --force-exclude --fix --exit-non-zero-on-fix require_serial: trueCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Apr 03 12:06:36 GMT 2026 - 2.6K bytes - Click Count (1) -
src/test/java/org/codelibs/fess/cors/CorsHandlerFactoryTest.java
// Execute corsHandlerFactory.add(originWithSlash, handlerWithSlash); corsHandlerFactory.add(originWithoutSlash, handlerWithoutSlash); // Verify - trailing slash matters assertEquals(handlerWithSlash, corsHandlerFactory.get(originWithSlash)); assertEquals(handlerWithoutSlash, corsHandlerFactory.get(originWithoutSlash)); } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 9.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/job/IndexExportJob.java
* @return this instance for method chaining */ public IndexExportJob query(final QueryBuilder queryBuilder) { this.queryBuilder = queryBuilder; return this; } /** * Sets the export format. * * @param format the format name (e.g. "html", "json") * @return this instance for method chaining */ public IndexExportJob format(final String format) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 10.8K bytes - Click Count (0) -
src/bytes/bytes.go
// characters, as defined by [unicode.IsSpace], returning a slice of subslices of s or an // empty slice if s contains only white space. Every element of the returned slice is // non-empty. Unlike [Split], leading and trailing runs of white space characters // are discarded. func Fields(s []byte) [][]byte { // First count the fields. // This is an exact count if s is ASCII, otherwise it is an approximation. n := 0 wasSpace := 1
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Mar 12 17:56:55 GMT 2026 - 36.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/UpdateLabelJobTest.java
QueryBuilder queryBuilder = QueryBuilders.matchAllQuery(); UpdateLabelJob returnedJob = updateLabelJob.query(queryBuilder); assertSame(updateLabelJob, returnedJob); // Method chaining assertEquals(queryBuilder, updateLabelJob.queryBuilder); } // Test query() method with null @Test public void test_query_withNull() { updateLabelJob.query(null);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 9.6K bytes - Click Count (0)