- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 1,089 for given (0.01 sec)
-
src/test/java/jcifs/internal/RequestTest.java
reset(request, response, context, disconnectRequest, nextRequest); } @Test @DisplayName("Test initResponse returns initialized response") void testInitResponse() { // Given when(request.initResponse(context)).thenReturn(response); // When CommonServerMessageBlockResponse result = request.initResponse(context); // Then assertNotNull(result);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/PathMatcherFactory.java
* Returns a filter for directories that may contain paths accepted by the given matcher. * The given path matcher should be an instance created by this service. * The path matcher returned by this method expects directory paths. * If that matcher returns {@code false}, then the directory will definitively not contain * the paths selected by the matcher given in argument to this method.
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Mon Jul 21 19:37:56 UTC 2025 - 7.5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrObjectTest.java
/** * Test case for the encode method when it throws an NdrException. * Verifies that the exception is correctly propagated. */ @Test void testEncodeThrowsNdrException() { // Given ndrObject.setThrowOnEncode(true); // When & Then assertThrows(NdrException.class, () -> { ndrObject.encode(mockBuffer); }); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.4K bytes - Viewed (0) -
cmd/bucket-versioning.go
vc, err := sys.Get(bucket) if err != nil { logger.CriticalIf(GlobalContext, err) } return vc.Enabled() } // PrefixEnabled returns true is versioning is enabled at bucket level and if // the given prefix doesn't match any excluded prefixes pattern. This is // part of a MinIO versioning configuration extension. func (sys *BucketVersioningSys) PrefixEnabled(bucket, prefix string) bool { vc, err := sys.Get(bucket)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Oct 25 00:44:15 UTC 2022 - 2.6K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type3MessageTest.java
return mockCtx; } @Test @DisplayName("Should create Type 3 message with authentication data") void testType3MessageCreation() throws Exception { // Given Type2Message type2 = createMockType2Message(); String password = "testpassword"; String domain = "TESTDOMAIN"; String username = "testuser"; String workstation = "TESTWS";
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Lookup.java
/** * Performs a lookup for given typed component. * * @param type The component type. * @return The component. * @param <T> The component type. * @throws LookupException if no such component or there is some provisioning related issue. */ @Nonnull <T> T lookup(Class<T> type); /** * Performs a lookup for given typed component. *
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jan 10 12:55:54 UTC 2024 - 3.3K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/primitives/UnsignedLongsBenchmark.java
return randomSource.nextLong(); } // A random value that cannot be 0 and that is unsigned-less-than or equal // to the given dividend, so that we don't have half of our divisions being // trivial because the divisor is bigger than the dividend. // Using remainder here does not give us a uniform distribution but it should // not have a big impact on the measurement. private static long randomDivisor(long dividend) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 28 01:26:26 UTC 2024 - 4.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComCloseTest.java
} /** * Test method for {@link jcifs.internal.smb1.com.SmbComClose#SmbComClose(jcifs.Configuration, int, long)}. */ @Test public void testConstructor() { // Given int fid = 123; long lastWriteTime = System.currentTimeMillis(); // When SmbComClose smbComClose = new SmbComClose(config, fid, lastWriteTime); // Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/ntlmssp/Type2Message.java
/** * Creates a Type-2 message in response to the given Type-1 message * using default values from the current environment. * * @param type1 The Type-1 message which this represents a response to. */ public Type2Message(final Type1Message type1) { this(type1, null, null); } /** * Creates a Type-2 message in response to the given Type-1 message. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 13K bytes - Viewed (0) -
cmd/net.go
ipList = set.NewStringSet() for _, ip := range mustGetLocalIPs() { if ip.To4() == nil { ipList.Add(ip.String()) } } return } // getHostIP returns IP address of given host. func getHostIP(host string) (ipList set.StringSet, err error) { addrs, err := globalDNSCache.LookupHost(GlobalContext, host) if err != nil { return ipList, err } ipList = set.NewStringSet()
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Jun 19 14:34:00 UTC 2024 - 9.6K bytes - Viewed (1)