- Sort Score
- Result 10 results
- Languages All
Results 801 - 810 of 3,507 for int (0.02 sec)
-
src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java
*/ abstract int writeParameterWordsWireFormat(byte[] dst, int dstIndex); abstract int writeBytesWireFormat(byte[] dst, int dstIndex); abstract int readParameterWordsWireFormat(byte[] buffer, int bufferIndex); abstract int readBytesWireFormat(byte[] buffer, int bufferIndex); @Override public int hashCode() { return mid; }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java
when(mockTimeZone.inDaylightTime(any(Date.class))).thenReturn(true); SMB1SigningDigest.writeUTime(mockConfig, testTime, dst, 0); int expectedSeconds = (int) (testTime / 1000L); int actualSeconds = SMBUtil.readInt4(dst, 0); assertEquals(expectedSeconds, actualSeconds); // Test when current time is in DST but test time is not
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/main/java/jcifs/smb/FileEntry.java
* @return the file name */ String getName(); /** * Gets the file type. * * @return the file type */ int getType(); /** * Gets the file attributes. * * @return the file attributes */ int getAttributes(); /** * Gets the file creation time. * * @return the creation time in milliseconds since epoch */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java
@DisplayName("Should handle masked value round-trip correctly") void testMaskedValueRoundTrip() throws NdrException { // Given: Original value that gets masked int originalValue = 300; // Will be masked to 44 int maskedValue = originalValue & 0xFF; // 44 NdrShort ndrShort1 = new NdrShort(originalValue); NdrBuffer encodeBuffer = mock(NdrBuffer.class);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.2K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Hashing.java
*/ public static int consistentHash(long input, int buckets) { checkArgument(buckets > 0, "buckets must be positive: %s", buckets); LinearCongruentialGenerator generator = new LinearCongruentialGenerator(input); int candidate = 0; int next; // Jump from bucket to bucket until we go out of range while (true) { next = (int) ((candidate + 1) / generator.nextDouble());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 29.8K bytes - Viewed (0) -
docs/debugging/xl-meta/main.go
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 40.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java
"1, 1, 1, 1, 0, 1, 1, 0, 255" }) void testReadParameterWordsWireFormatWithVariousValues(int totalParams, int totalData, int paramCount, int paramOffset, int paramDisp, int dataCount, int dataOffset, int dataDisp, int setupCount) throws Exception { byte[] buffer = new byte[100]; int bufferIndex = 5; // Reserved bytes buffer[bufferIndex] = 0x00;
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/main/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContext.java
/** * {@inheritDoc} * * @see jcifs.Decodable#decode(byte[], int, int) */ @Override public int decode(final byte[] buffer, int bufferIndex, final int len) throws SMBProtocolDecodingException { final int start = bufferIndex; final int nalgos = SMBUtil.readInt2(buffer, bufferIndex); final int nsalt = SMBUtil.readInt2(buffer, bufferIndex + 2); bufferIndex += 4;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java
byte[] domainBytes = "DOMAIN\0".getBytes("US-ASCII"); // Use reflection to set protected byteCount field int byteCountValue = 8 + domainBytes.length; setByteCount(response, byteCountValue); byte[] buffer = new byte[byteCountValue]; int bufferIndex = 0; byte[] key = new byte[] { 1, 2, 3, 4, 5, 6, 7, 8 }; System.arraycopy(key, 0, buffer, bufferIndex, key.length);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComNegotiateTest.java
* This method should do nothing and return 0. */ @Test void testWriteParameterWordsWireFormat() { byte[] dst = new byte[10]; int dstIndex = 0; // The method should return 0 as it writes no parameter words int result = smbComNegotiate.writeParameterWordsWireFormat(dst, dstIndex); assertEquals(0, result, "writeParameterWordsWireFormat should return 0."); } /**Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4K bytes - Viewed (0)