- Sort Score
- Num 10 results
- Language All
Results 1791 - 1800 of 2,675 for breathe (0.05 seconds)
-
src/test/java/jcifs/SmbTreeHandleTest.java
import org.mockito.junit.jupiter.MockitoExtension; import org.mockito.junit.jupiter.MockitoSettings; import org.mockito.quality.Strictness; /** * Tests for SmbTreeHandle interface. * This test class uses Mockito to create a mock implementation of the SmbTreeHandle interface. * Each method of the interface is tested to ensure it behaves as expected. */ @ExtendWith(MockitoExtension.class) @MockitoSettings(strictness = Strictness.LENIENT)
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancerTest.java
} @Test void testZeroScoreChannels() { loadBalancer.setStrategy(LoadBalancingStrategy.WEIGHTED_RANDOM); // Create channels with zero scores (failed state) channel1.setState(ChannelState.FAILED); channel2.setState(ChannelState.FAILED);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 7.7K bytes - Click Count (0) -
internal/http/dial_linux.go
} if opts.Interface != "" { if h, _, err := net.SplitHostPort(address); err == nil { address = h } // Create socket on specific vrf device. // To catch all kinds of special cases this filters specifically for loopback networks. if ip := net.ParseIP(address); ip != nil && !ip.IsLoopback() {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Jul 23 10:53:03 GMT 2024 - 5K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/CopyRestApiTask.java
this.outputResourceDir = objectFactory.directoryProperty(); this.additionalYamlTestsDir = objectFactory.directoryProperty(); this.patternSet = patternSetFactory.create(); this.projectLayout = projectLayout; this.fileSystemOperations = fileSystemOperations; } @Input public ListProperty<String> getInclude() { return include; }
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 22 07:24:59 GMT 2021 - 7.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/io/Smb2WriteRequest.java
import jcifs.internal.smb2.rdma.RdmaChannelInfo; import jcifs.internal.util.SMBUtil; /** * SMB2 Write request message. * * This command is used to write data to a file that has been * previously opened with a Create request. * * @author mbechler */ public class Smb2WriteRequest extends ServerMessageBlock2Request<Smb2WriteResponse> implements RequestWithFileId { /**
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 7.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTreeImplTest.java
assertEquals(tree, unwrapped); // Test unwrapping to a non-assignable type should fail assertThrows(ClassCastException.class, () -> { // Create a mock class that extends SmbTree but is not assignable from SmbTreeImpl class CustomSmbTree extends SmbTreeImpl { CustomSmbTree() { super(session, "SHARE", "A:"); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.8K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionResult.java
* <li>file system errors: permissions</li> * </ul> * * TODO carlos: all these possible has*Exceptions and get*Exceptions methods make the clients too * complex requiring a long list of checks, need to create a parent/interface/encapsulation * for the types of exceptions */ @Deprecated public class ArtifactResolutionResult { private static final String LS = System.lineSeparator();
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 10K bytes - Click Count (0) -
docs/en/docs/advanced/security/http-basic-auth.md
Then, when you type that username and password, the browser sends them in the header automatically. ## Simple HTTP Basic Auth { #simple-http-basic-auth } * Import `HTTPBasic` and `HTTPBasicCredentials`. * Create a "`security` scheme" using `HTTPBasic`. * Use that `security` with a dependency in your *path operation*. * It returns an object of type `HTTPBasicCredentials`: * It contains the `username` and `password` sent.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 5K bytes - Click Count (0) -
docs/en/docs/tutorial/cors.md
## Use `CORSMiddleware` { #use-corsmiddleware } You can configure it in your **FastAPI** application using the `CORSMiddleware`. * Import `CORSMiddleware`. * Create a list of allowed origins (as strings). * Add it as a "middleware" to your **FastAPI** application. You can also specify whether your backend allows: * Credentials (Authorization headers, Cookies, etc).Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 5.2K bytes - Click Count (0) -
cmd/http-tracer.go
respRecorder := xhttp.NewResponseRecorder(w) // Setup a http request body recorder reqRecorder := &xhttp.RequestRecorder{Reader: r.Body} r.Body = reqRecorder // Create tracing data structure and associate it to the request context tc := mcontext.TraceCtxt{ AmzReqID: w.Header().Get(xhttp.AmzRequestID), RequestRecorder: reqRecorder, ResponseRecorder: respRecorder, }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Sep 24 17:13:00 GMT 2024 - 6K bytes - Click Count (0)