- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 761 for 16 (0.06 sec)
-
src/test/java/jcifs/smb/SmbWatchHandleImplTest.java
when(resp.isReceived()).thenReturn(true); when(resp.getErrorCode()).thenReturn(0); when(resp.getNotifyInformation()).thenReturn(info); setupSmb2(resp, new byte[16]); SmbWatchHandleImpl sut = new SmbWatchHandleImpl(handle, 0x1234, true); List<FileNotifyInformation> result = sut.watch(); assertSame(info, result, "Should return response notify information");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakResponse.java
this.flags = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; // LeaseKey (16 bytes) byte[] keyBytes = new byte[16]; System.arraycopy(buffer, bufferIndex, keyBytes, 0, 16); this.leaseKey = new Smb2LeaseKey(keyBytes); bufferIndex += 16; // LeaseState (4 bytes) this.leaseState = SMBUtil.readInt4(buffer, bufferIndex);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 3.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MapMakerTest.java
// TODO(cpovirk): enable when ready (apparently after a change to our GWT emulation) public void xtestInitialCapacity_setTwice() { MapMaker maker = new MapMaker().initialCapacity(16); try { // even to the same value is not allowed maker.initialCapacity(16); fail(); } catch (IllegalStateException expected) { } } public void testReturnsPlainConcurrentHashMapWhenPossible() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/ntlmssp/Type3Message.java
hmac.update(ntResponse, 0, 16); // only first 16 bytes of ntResponse final byte[] userSessionKey = hmac.digest(); if ((getFlags() & NTLMSSP_NEGOTIATE_KEY_EXCH) != 0) { masterKey = new byte[16]; RANDOM.nextBytes(masterKey); final byte[] exchangedKey = new byte[16]; final RC4 rc4 = new RC4(userSessionKey);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 24.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.8K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java
format.setTimeZone(MavenBuildTimestamp.DEFAULT_BUILD_TIME_ZONE); assertEquals("1976-11-11T00:16:00Z", format.format(firstTestDate)); assertEquals("1976-11-11T23:16:00Z", format.format(secondTestDate)); } @Test public void testDefaultBuildTimestampFormatWithLocalTimeZoneMidnightRollover() {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sun Mar 30 23:08:36 UTC 2025 - 18.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequest.java
final int start = dstIndex; SMBUtil.writeInt4(this.capabilities, dst, dstIndex); dstIndex += 4; System.arraycopy(this.clientGuid, 0, dst, dstIndex, 16); dstIndex += 16; SMBUtil.writeInt2(this.securityMode, dst, dstIndex); dstIndex += 2; SMBUtil.writeInt2(this.dialects.length, dst, dstIndex); dstIndex += 2;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotification.java
} this.oplockLevel = buffer[bufferIndex + 2]; bufferIndex += 4; bufferIndex += 4; // Reserved2 this.fileId = new byte[16]; System.arraycopy(buffer, bufferIndex, this.fileId, 0, 16); bufferIndex += 16; return bufferIndex - start; } /** * {@inheritDoc} * * @see jcifs.internal.smb2.ServerMessageBlock2#toString() */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java
when(mockConfig.getMaximumBufferSize()).thenReturn(65536); when(mockConfig.getListSize()).thenReturn(65536); testFileId = new byte[16]; for (int i = 0; i < 16; i++) { testFileId[i] = (byte) i; } } @Test @DisplayName("Test constructor with Configuration only") void testConstructorWithConfigOnly() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.6K bytes - Viewed (0) -
cmd/api-headers_test.go
package cmd import ( "testing" ) func TestNewRequestID(t *testing.T) { // Ensure that it returns an alphanumeric result of length 16. id := mustGetRequestID(UTCNow()) if len(id) != 16 { t.Fail() } var e rune for _, char := range id { e = char // Ensure that it is alphanumeric, in this case, between 0-9 and A-Z.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 1.2K bytes - Viewed (0)