- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 945 for lose (0.01 sec)
-
src/archive/zip/writer_test.go
} w := NewWriter(&buf) if _, err := w.CreateHeader(h); err != nil { t.Fatalf("unexpected CreateHeader error: %v", err) } if err := w.Close(); err != nil { t.Fatalf("unexpected Close error: %v", err) } want, err := os.ReadFile("testdata/time-go.zip") if err != nil { t.Fatalf("unexpected ReadFile error: %v", err) }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Jan 28 04:20:09 UTC 2025 - 14.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/NetServerEnumIteratorTest.java
return invocation.getArgument(1); }); // When: Create iterator and close multiple times NetServerEnumIterator iterator = new NetServerEnumIterator(parent, treeHandle, "*", 0, null); iterator.close(); iterator.close(); // Second close should be safe // Then: Tree handle should be released only once verify(treeHandle, times(1)).release();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.8K bytes - Viewed (0) -
.github/workflows/stale-issues.yml
# limitations under the License. # ============================================================================ name: Close inactive issues on: schedule: - cron: "30 1 * * *" permissions: contents: read jobs: close-issues: # Don't do this in forks if: github.repository == 'tensorflow/tensorflow' runs-on: ubuntu-latest permissions: issues: writeRegistered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Sat Feb 01 08:42:17 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java
TestIterator iterator = new TestIterator(null); iterator.close(); verify(delegate).close(); } @Test @DisplayName("Close propagates exception") void closeException() throws CIFSException { when(delegate.hasNext()).thenReturn(false); doThrow(new CIFSException("Close failed")).when(delegate).close(); TestIterator iterator = new TestIterator(null);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.6K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/LsaPolicyHandleTest.java
return null; }).when(mockDcerpcHandle).sendrecv(any(MsrpcLsarClose.class)); // Close once handle.close(); // Act // Try to close again handle.close(); // Assert // Verify sendrecv was called once for open and only once for close verify(mockDcerpcHandle, times(1)).sendrecv(any(MsrpcLsarOpenPolicy2.class));Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt
private var receivedCloseCode = -1 /** The close reason from the peer, or null if this web socket has not yet read a close frame. */ private var receivedCloseReason: String? = null /** True if this web socket failed and the listener has been notified. */ private var failed = false /** Total number of pings sent by this web socket. */
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 21.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java
timingRatio, TIMING_TOLERANCE, timeStart, timeMiddle, timeEnd)); } finally { // Clean up resources baseAuth.close(); startAuth.close(); middleAuth.close(); endAuth.close(); } } /** * Test constant-time comparison with various password lengths. */ @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CloserTest.java
} public void testNullCloseable() throws IOException { Closer closer = Closer.create(); closer.register(null); closer.close(); } /** * Asserts that an exception was thrown when trying to close each of the given throwables and that * each such exception was suppressed because of the given thrown exception. */ private void assertSuppressed(Suppression... expected) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 11.8K bytes - Viewed (0) -
src/test/java/jcifs/context/CIFSContextWrapperTest.java
void testClose_True() throws CIFSException { // Test close() method when true when(mockDelegate.close()).thenReturn(true); assertTrue(cifsContextWrapper.close()); verify(mockDelegate).close(); } @Test void testClose_False() throws CIFSException { // Test close() method when false when(mockDelegate.close()).thenReturn(false);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt
while (!toClose.isEmpty()) { toClose.pop().close() } taskFaker.close() (filesystem.delegate as? FakeFileSystem)?.checkNoOpenFiles() } @ParameterizedTest @ArgumentsSource(FileSystemParamProvider::class) fun emptyCache(parameters: Pair<FileSystem, Boolean>) { setUp(parameters.first, parameters.second) cache.close() assertJournalEquals() }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 75.7K bytes - Viewed (0)