- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 9,736 for clase (0.03 seconds)
-
src/test/java/jcifs/SmbSessionTest.java
} @Test @DisplayName("Should allow close method to be called multiple times") void shouldAllowMultipleCloseCallsOnMock() throws Exception { SmbSession mockSession = mock(SmbSession.class); doNothing().when(mockSession).close(); assertDoesNotThrow(() -> { mockSession.close(); mockSession.close();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.1K bytes - Click Count (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);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 10.6K bytes - Click Count (0) -
android/guava/src/com/google/common/io/Closeables.java
* // If an exception occurs, rethrow it only if threw==false: * Closeables.close(stream, threw); * } * } * } * * @param closeable the {@code Closeable} object to be closed, or null, in which case this method * does nothing * @param swallowIOException if true, don't propagate IO exceptions thrown by the {@code close} * methodsCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 5.1K bytes - Click Count (0) -
finisher_api.go
break } queryDB = tx.Clauses(clause.Gt{Column: clause.Column{Table: clause.CurrentTable, Name: clause.PrimaryKey}, Value: primaryValue}) } tx.RowsAffected = rowsAffected return tx } func (db *DB) assignInterfacesToValue(values ...interface{}) { for _, value := range values { switch v := value.(type) { case []clause.Expression: for _, expr := range v {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Fri Sep 19 01:49:06 GMT 2025 - 22.9K bytes - Click Count (0) -
android/guava/src/com/google/common/io/FileBackedOutputStream.java
computeIsReachabilityFenceMethodUsable(); private static boolean computeIsReachabilityFenceMethodUsable() { try { Method method = Reference.class.getMethod("reachabilityFence", Object.class); method.invoke(null, FileBackedOutputStream.class); // to make sure the method is accessible return true; } catch (NoSuchMethodException | IllegalAccessException probablyBeforeJava9OrAndroid28) { /*
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 17:30:49 GMT 2026 - 12.4K bytes - Click Count (0) -
docs/smb3-features/02-persistent-handles-design.md
throw new IOException("Failed to reconnect durable handle"); } } @Override public void close() throws IOException { try { // Normal close operations super.close(); } finally { // Don't release durable handle on close if it's persistent if (handleManager != null && handleType != HandleType.PERSISTENT) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 31.6K bytes - Click Count (0) -
migrator/migrator.go
createTableSQL += "CONSTRAINT ? UNIQUE (?)," values = append(values, clause.Column{Name: uni.Name}, clause.Expr{SQL: stmt.Quote(uni.Field.DBName)}) } for _, chk := range stmt.Schema.ParseCheckConstraints() { createTableSQL += "CONSTRAINT ? CHECK (?)," values = append(values, clause.Column{Name: chk.Name}, clause.Expr{SQL: chk.Constraint}) }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:49:01 GMT 2026 - 29.8K bytes - Click Count (0) -
.dir-locals.el
(c-set-offset 'block-close 'my/block-close) (c-set-offset 'knr-argdecl-intro '+) (c-set-offset 'substatement-open '+) (c-set-offset 'substatement-label '+) (c-set-offset 'case-label '+) (c-set-offset 'label '+) (c-set-offset 'statement-case-open '+) (c-set-offset 'statement-cont '++)Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Fri Apr 14 14:50:53 GMT 2017 - 3.3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt
* * `Response.body().close()` * * `Response.body().source().close()` * * `Response.body().charStream().close()` * * `Response.body().byteStream().close()` * * `Response.body().bytes()` * * `Response.body().string()` * * There is no benefit to invoking multiple `close()` methods for the same response body. * * For synchronous calls, the easiest way to make sure a response body is closed is with a `try`
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue May 27 14:51:25 GMT 2025 - 11.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFileHandleImplTest.java
h.acquire(); // First release: should not close yet h.release(); verify(tree, never()).send(isA(Smb2CloseRequest.class), any()); verify(tree, never()).send(any(CommonServerMessageBlockRequest.class), any(SmbComBlankResponse.class), any(RequestParam[].class)); // Second release: should close now via SMB2 path h.release();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.3K bytes - Click Count (0)