- Sort Score
- Result 10 results
- Languages All
Results 611 - 620 of 1,620 for whence (0.07 sec)
-
src/test/java/jcifs/FileNotifyInformationTest.java
void testGetFileNameWithVariousValues(String fileName) { when(mockFileNotifyInfo.getFileName()).thenReturn(fileName); assertEquals(fileName, mockFileNotifyInfo.getFileName()); } @Test @DisplayName("Test getFileName with null value") void testGetFileNameWithNull() { when(mockFileNotifyInfo.getFileName()).thenReturn(null);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java
prepareMinimalSecurityDescriptorBuffer(testBuffer, 0, true, false, false); int size = securityDescriptor.decode(testBuffer, 0, testBuffer.length); // decode returns 0 when no DACL is present (falls through) assertEquals(0, size); assertNotNull(securityDescriptor.getOwnerUserSid()); assertNull(securityDescriptor.getOwnerGroupSid());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt
internal fun BufferedSource.skipAll() { while (!exhausted()) { skip(buffer.size) } } /** * Attempts to exhaust this, returning true if successful. This is useful when reading a complete * source is helpful, such as when doing so completes a cache body or frees a socket connection for * reuse. */ internal fun Source.discard( timeout: Int, timeUnit: TimeUnit, ): Boolean = try {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 10.2K bytes - Viewed (1) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java
} } @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); when(mockConfig.getPid()).thenReturn(1234); when(mockConfig.getMaximumBufferSize()).thenReturn(65535); when(mockConfig.getMinimumVersion()).thenReturn(DialectVersion.SMB1); when(mockConfig.getMaximumVersion()).thenReturn(DialectVersion.SMB311); response = new TestSmbComNtTransactionResponse(mockConfig);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.3K bytes - Viewed (0) -
src/test/java/jcifs/context/AbstractCIFSContextTest.java
} @Test void testHasDefaultCredentials_withNonAnonymous() { when(mockCredentials.isAnonymous()).thenReturn(false); assertTrue(context.hasDefaultCredentials()); } @Test void testHasDefaultCredentials_withAnonymous() { when(mockCredentials.isAnonymous()).thenReturn(true); assertFalse(context.hasDefaultCredentials()); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/jcifs/util/ByteEncodableTest.java
byte[] data = { 0x01, 0x02 }; // This constructor call itself should not throw an error, as it's just storing the values. // The error should occur when System.arraycopy is called. ByteEncodable encodable = new ByteEncodable(data, 1, 2); // off=1, len=2, data.length=2. 1+2 > 2 byte[] dest = new byte[5];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/EncodableTest.java
assertThrows(ArrayIndexOutOfBoundsException.class, () -> enc.encode(dst, 2), "System.arraycopy should throw when dstIndex + len exceeds dst length"); } @Test @DisplayName("encode() throws when dstIndex is negative") void encodeThrowsWhenDstIndexNegative() { byte[] src = makeSeq(3); Encodable enc = new ByteEncodable(src, 0, 3); byte[] dst = new byte[3];Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.6K bytes - Viewed (0) -
cmd/service.go
// GlobalContext context that is canceled when server is requested to shut down. // cancelGlobalContext can be used to indicate server shutdown. var GlobalContext, cancelGlobalContext = context.WithCancel(context.Background()) // restartProcess starts a new process passing it the active fd's. It // doesn't fork, but starts a new process using the same environment and // arguments as when it was originally started. This allows for a newly
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Feb 28 07:02:14 UTC 2024 - 3.8K bytes - Viewed (0) -
guava-gwt/src/com/google/thirdparty/publicsuffix/PublicSuffixType.gwt.xml
<exclude name="**/testing/**"/> </source> <!-- We used to set this only for packages that had manual supersource. That worked everywhere that I know of except for one place: when running the GWT util.concurrent tests under Guava. The problem is that GWT responds poorly to two .gwt.xml files in the same Java package; seeRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 19 16:02:36 UTC 2024 - 1.4K bytes - Viewed (0) -
cmd/batch-expire_test.go
import ( "slices" "testing" "gopkg.in/yaml.v3" ) func TestParseBatchJobExpire(t *testing.T) { expireYaml := ` expire: # Expire objects that match a condition apiVersion: v1 bucket: mybucket # Bucket where this batch job will expire matching objects from prefix: myprefix # (Optional) Prefix under which this job will expire objects matching the rules below. rules: - type: object # regular objects with zero or more older versions
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Aug 01 12:53:30 UTC 2024 - 5.5K bytes - Viewed (0)