- Sort Score
- Num 10 results
- Language All
Results 211 - 220 of 435 for crossed (0.04 seconds)
-
internal/lock/lock_test.go
if isClosed { t.Fatal("File ref count shouldn't be zero") } // Decrease reference count by 1. if err = rlk.Close(); err != nil { t.Fatal(err) } // Now file should be closed. isClosed = rlk.IsClosed() if !isClosed { t.Fatal("File ref count should be zero") } // Closing a file again should result in invalid argument. if err = rlk.Close(); err != os.ErrInvalid {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 3.7K bytes - Click Count (0) -
okhttp-coroutines/src/test/kotlin/okhttp3/coroutines/ExecuteAsyncTest.kt
} } } assertThat(call.canceled).isTrue() assertThat(call.responseClosed).isTrue() } } /** A call that keeps track of whether its response body is closed. */ private class ClosableCall : FailingCall() { private val response = Response .Builder() .request(Request("https://example.com/".toHttpUrl())) .protocol(Protocol.HTTP_1_1)Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Jun 20 11:46:46 GMT 2025 - 5.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/cors/DefaultCorsHandler.java
import jakarta.annotation.PostConstruct; import jakarta.servlet.ServletRequest; import jakarta.servlet.ServletResponse; import jakarta.servlet.http.HttpServletResponse; /** * Default implementation of CORS (Cross-Origin Resource Sharing) handler. * This handler automatically registers itself for origins configured in the system * and applies standard CORS headers based on the application configuration. */
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 3K bytes - Click Count (0) -
docs/es/docs/advanced/response-headers.md
Headers" class="external-link" target="_blank">usando el prefijo `X-`</a>. Pero si tienes headers personalizados que quieres que un cliente en un navegador pueda ver, necesitas agregarlos a tus configuraciones de CORS (leer más en [CORS (Cross-Origin Resource Sharing)](../tutorial/cors.md){.internal-link target=_blank}), usando el parámetro `expose_headers` documentado en <a href="https://www.starlette.dev/middleware/#corsmiddleware" class="external-link" target="_blank">la documentación...
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 2.5K bytes - Click Count (0) -
internal/ioutil/ioutil.go
func (p *AlignedBytePool) Put(pb *[]byte) { if pb != nil && len(*pb) == p.size { p.p.Put(pb) } } // WriteOnCloser implements io.WriteCloser and always // executes at least one write operation if it is closed. // // This can be useful within the context of HTTP. At least // one write operation must happen to send the HTTP headers // to the peer. type WriteOnCloser struct { io.Writer hasWritten bool }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 11.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFileOutputStreamTest.java
// When outputStream = new SmbFileOutputStream(mockFile); // Then assertNotNull(outputStream); // Verify the AutoCloseable resources were closed verify(autoCloseableMockTreeHandle).close(); verify(autoCloseableMockFileHandle).close(); } @Test void testConstructorWithAppendFlag() throws IOException, CIFSException {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponse.java
* Named pipe status indicating the connection is established and operational. */ public static final int STATUS_CONNECTION_OK = 3; /** * Named pipe status indicating the server end of the pipe is closed. */ public static final int STATUS_SERVER_END_CLOSED = 4; private int available; /** * Constructs a TransPeekNamedPipeResponse with the specified configuration. *Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.3K bytes - Click Count (0) -
src/main/java/jcifs/smb1/netbios/SocketInputStream.java
public synchronized int read(final byte[] b) throws IOException { return read(b, 0, b.length); } /* This method will not return until len bytes have been read * or the stream has been closed. */ @Override public synchronized int read(final byte[] b, int off, int len) throws IOException { if (len == 0) { return 0; } int tot = 0;
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 3.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/filter/CorsFilter.java
import jakarta.servlet.ServletRequest; import jakarta.servlet.ServletResponse; import jakarta.servlet.http.HttpServletRequest; import jakarta.servlet.http.HttpServletResponse; /** * Filter for handling Cross-Origin Resource Sharing (CORS) requests. * Processes CORS headers and handles preflight OPTIONS requests. */ public class CorsFilter implements Filter { /** * Creates a new instance of CorsFilter. */
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 2.9K bytes - Click Count (0) -
ci/official/requirements_updater/requirements.in
keras-nightly ~= 3.10.0.dev tb-nightly ~= 2.20.0.a # For new protobuf, if V.x.y is gencode version, then runtime version U must be # V <= U <= V+1 # More info at https://protobuf.dev/support/cross-version-runtime-guarantee/ protobuf >= 5.28.0, < 7.0 # Test dependencies grpcio >= 1.68.1, < 2.0 portpicker == 1.6.0 # Scipy 15.x and above have misc.derivative removed, but we still use it scipy >= 1.13.0, < 1.15.0
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Wed Oct 15 20:30:40 GMT 2025 - 1.2K bytes - Click Count (0)