- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 37 for twice (0.05 seconds)
-
src/test/java/jcifs/smb/SmbPipeHandleImplTest.java
// Act: call twice try (SmbTreeHandleImpl t1 = target.ensureTreeConnected(); SmbTreeHandleImpl t2 = target.ensureTreeConnected()) { assertSame(tree, t1); assertSame(tree, t2); } // Assert: pipe.ensureTreeConnected invoked once, acquire twice verify(pipe, times(1)).ensureTreeConnected();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/math/QuantilesTest.java
.isWithin(ALLOWED_ERROR) .of(45.6); } public void testScale_indexes_varargs_compute_doubleCollection() { // Note that we specify index 1 twice, which by the method contract should be ignored. assertThat(Quantiles.scale(10).indexes(0, 10, 5, 1, 8, 1).compute(SIXTEEN_SQUARES_DOUBLES)) .comparingValuesUsing(QUANTILE_CORRESPONDENCE) .containsExactly(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 29.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/QuantilesTest.java
.isWithin(ALLOWED_ERROR) .of(45.6); } public void testScale_indexes_varargs_compute_doubleCollection() { // Note that we specify index 1 twice, which by the method contract should be ignored. assertThat(Quantiles.scale(10).indexes(0, 10, 5, 1, 8, 1).compute(SIXTEEN_SQUARES_DOUBLES)) .comparingValuesUsing(QUANTILE_CORRESPONDENCE) .containsExactly(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 29.9K bytes - Click Count (0) -
cmd/local-locker_test.go
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 11.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/FileEntryTest.java
// Act: call methods, some multiple times String name = mockEntry.getName(); int type1 = mockEntry.getType(); int type2 = mockEntry.getType(); // called twice for interaction verification int attributes = mockEntry.getAttributes(); long createTime = mockEntry.createTime(); long lastModified = mockEntry.lastModified();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java
System.clearProperty(Constants.FESS_CONFIG_PREFIX + testKey); } } // Test caching mechanism @Test public void test_get_caching() { // Get property twice to test caching behavior String testKey = "domain.title"; String value1 = fessConfig.get(testKey); String value2 = fessConfig.get(testKey); // Values should be the same
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.9K bytes - Click Count (0) -
src/archive/zip/writer.go
func (w *Writer) Close() error { if w.last != nil && !w.last.closed { if err := w.last.close(); err != nil { return err } w.last = nil } if w.closed { return errors.New("zip: writer closed twice") } w.closed = true // write central directory start := w.cw.count for _, h := range w.dir { var buf [directoryHeaderLen]byte b := writeBuf(buf[:]) b.uint32(uint32(directoryHeaderSignature))
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Jan 28 04:20:09 GMT 2025 - 19.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java
assertTrue(ex.getMessage().contains("Server does not support NTLM authentication")); // Verify the decision consulted the configuration // getConfig() is called twice: once in Kerb5Authenticator and once in NtlmPasswordAuthenticator verify(tc, times(2)).getConfig(); verify(config, times(1)).isAllowNTLMFallback(); verify(config, times(1)).isUseRawNTLM(); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0) -
build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/test/AntFixture.groovy
private void fail(String msg, Exception... suppressed) { if (logger.isInfoEnabled() == false) { // We already log the command at info level. No need to do it twice. commandString.eachLine { line -> logger.error(line) } } logger.error("${name} output:") logger.error("-----------------------------------------")
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 10.1K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/AbstractBaseGraph.java
*/ protected long edgeCount() { long degreeSum = 0L; for (N node : nodes()) { degreeSum += degree(node); } // According to the degree sum formula, this is equal to twice the number of edges. checkState((degreeSum & 1) == 0); return degreeSum >>> 1; } /** * An implementation of {@link BaseGraph#edges()} defined in terms of {@link Graph#nodes()} and
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 07 15:57:03 GMT 2025 - 11.5K bytes - Click Count (0)