- Sort Score
- Num 10 results
- Language All
Results 461 - 470 of 1,817 for Length (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/jcifs/internal/dtyp/SecurityDescriptor.java
* * @param buffer the byte buffer containing the security descriptor data * @param bufferIndex the starting offset in the buffer * @param len the length of data to decode * @throws IOException if an I/O error occurs during decoding */ public SecurityDescriptor(final byte[] buffer, final int bufferIndex, final int len) throws IOException {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.4K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java
serverData.encryptionKeyLength = 8; response.flags2 = ServerMessageBlock.FLAGS2_UNICODE; byte[] domainNameBytes = "DOMAIN_U".getBytes("UTF-16LE"); response.byteCount = 8 + domainNameBytes.length + 2; // key + domain + null terminator // Prepare byte array byte[] encryptionKey = "12345678".getBytes(); ByteBuffer buffer = ByteBuffer.allocate(response.byteCount);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.2K bytes - Click Count (0) -
android/guava/src/com/google/common/escape/CharEscaper.java
public String escape(String string) { checkNotNull(string); // GWT specific check (do not optimize) // Inlineable fast-path loop which hands off to escapeSlow() only if needed int length = string.length(); for (int index = 0; index < length; index++) { if (escape(string.charAt(index)) != null) { return escapeSlow(string, index); } } return string; } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 15:45:16 GMT 2025 - 6.7K bytes - Click Count (0) -
android/guava/src/com/google/common/net/InternetDomainName.java
// levels equals the number of dots that are getting clipped away, then add the length of each // clipped part to get the length of the leading substring that is being removed. int substringFrom = levels; for (int i = 0; i < levels; i++) { substringFrom += parts.get(i).length(); } String ancestorName = name.substring(substringFrom);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 21:21:59 GMT 2026 - 26.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComCreateDirectoryTest.java
// Expected format: buffer format (0x04) + path string (null terminated) byte[] expected = new byte[directoryName.length() + 2]; expected[0] = 0x04; // Buffer format System.arraycopy(directoryName.getBytes(StandardCharsets.UTF_8), 0, expected, 1, directoryName.length()); expected[directoryName.length() + 1] = 0x00; // Null terminator byte[] dst = new byte[100];
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.2K bytes - Click Count (0) -
internal/s3select/sql/stringfuncs_contrib_test.go
s string startIdx int length int resExpected string errExpected error }{ {"abcd", 1, 1, "a", nil}, {"abcd", -1, 1, "a", nil}, {"abcd", 999, 999, "", nil}, {"", 999, 999, "", nil}, {"测试abc", 1, 1, "测", nil}, {"测试abc", 5, 5, "c", nil}, } for i, tc := range evalCases { res, err := evalSQLSubstring(tc.s, tc.startIdx, tc.length) if res != tc.resExpected || err != tc.errExpected {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 1.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java
byte[] salt2 = preauthService.generatePreauthSalt(); assertNotNull(salt1); assertNotNull(salt2); assertEquals(32, salt1.length); // 32 bytes as per SMB 3.1.1 spec assertEquals(32, salt2.length); assertFalse(java.util.Arrays.equals(salt1, salt2)); // Should be different } @Test @DisplayName("Test session initialization")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 11.1K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/WinErrorTest.java
@Test void arraysHaveSameLength() { assertEquals(WinError.WINERR_CODES.length, WinError.WINERR_MESSAGES.length, "WINERR_CODES and WINERR_MESSAGES should have the same length"); } @Test void messagesAlignWithCodes() { for (int i = 0; i < WinError.WINERR_CODES.length; i++) { int code = WinError.WINERR_CODES[i];Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.7K bytes - Click Count (0) -
docs/smb3-features/04-directory-leasing-design.md
writeInt4(buffer, dataOffset, notificationFilter); } @Override public void decode(byte[] buffer, int offset, int length) { super.decode(buffer, offset, length); if (length > getStandardLeaseSize()) { // Decode directory-specific data int dataOffset = offset + getStandardLeaseSize();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 36.2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/NavigableSetTestSuiteBuilder.java
public SampleElements<E> samples() { return delegate.samples(); } @Override public E[] createArray(int length) { return delegate.createArray(length); } @Override public Iterable<E> order(List<E> insertionOrder) { List<E> list = new ArrayList<>();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Oct 30 16:15:19 GMT 2024 - 6.2K bytes - Click Count (0)