Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 626 for lang_th (0.05 sec)

  1. src/test/java/jcifs/ntlmssp/NtlmMessageTest.java

            // Simulate a security buffer structure: length (2 bytes), length (2 bytes), offset (4 bytes)
            // Length = 5, Offset = 8
            ByteBuffer buffer = ByteBuffer.wrap(data).order(ByteOrder.LITTLE_ENDIAN);
            buffer.putShort(0, (short) content.length); // Length
            buffer.putShort(2, (short) content.length); // MaxLength (not used by readSecurityBuffer, but typically same as length)
            buffer.putInt(4, 8); // Offset
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java

            // Skip 8 bytes for RootDirectory (8-15)
            SMBUtil.writeInt4(nameBytes.length, buffer, 16);
            System.arraycopy(nameBytes, 0, buffer, 20, nameBytes.length);
    
            FileRenameInformation2 info = new FileRenameInformation2();
            int bytesRead = info.decode(buffer, 0, buffer.length);
    
            assertEquals(20 + nameBytes.length, bytesRead);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/msrpc/lsarpcIntegrationTest.java

            decodedInfo.decode(decodeBuffer);
    
            // Verify the decoded data matches
            assertEquals(dnsDomainInfo.name.length, decodedInfo.name.length);
            assertEquals(dnsDomainInfo.dns_domain.length, decodedInfo.dns_domain.length);
            assertEquals(dnsDomainInfo.dns_forest.length, decodedInfo.dns_forest.length);
    
            // Verify GUID
            assertEquals(dnsDomainInfo.domain_guid.time_low, decodedInfo.domain_guid.time_low);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/Booleans.java

       */
      public static boolean[] concat(boolean[]... arrays) {
        long length = 0;
        for (boolean[] array : arrays) {
          length += array.length;
        }
        boolean[] result = new boolean[checkNoOverflow(length)];
        int pos = 0;
        for (boolean[] array : arrays) {
          System.arraycopy(array, 0, result, pos, array.length);
          pos += array.length;
        }
        return result;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/primitives/Booleans.java

       */
      public static boolean[] concat(boolean[]... arrays) {
        long length = 0;
        for (boolean[] array : arrays) {
          length += array.length;
        }
        boolean[] result = new boolean[checkNoOverflow(length)];
        int pos = 0;
        for (boolean[] array : arrays) {
          System.arraycopy(array, 0, result, pos, array.length);
          pos += array.length;
        }
        return result;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/io/CopyUtilTest.java

            final int result = copy(is, os);
            assertThat(result, is(srcBytes.length));
            assertThat(os.toByteArray(), is(srcBytes));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testReaderToWriter() throws Exception {
            final int result = copy(reader, writer);
            assertThat(result, is(srcString.length()));
            assertThat(writer.toString(), is(srcString));
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/Shorts.java

       */
      public static short[] concat(short[]... arrays) {
        long length = 0;
        for (short[] array : arrays) {
          length += array.length;
        }
        short[] result = new short[checkNoOverflow(length)];
        int pos = 0;
        for (short[] array : arrays) {
          System.arraycopy(array, 0, result, pos, array.length);
          pos += array.length;
        }
        return result;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/primitives/Shorts.java

       */
      public static short[] concat(short[]... arrays) {
        long length = 0;
        for (short[] array : arrays) {
          length += array.length;
        }
        short[] result = new short[checkNoOverflow(length)];
        int pos = 0;
        for (short[] array : arrays) {
          System.arraycopy(array, 0, result, pos, array.length);
          pos += array.length;
        }
        return result;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/FileEntryTest.java

                assertNull(mock.getName());
            }
    
            @Test
            @DisplayName("Negative length is allowed via mock")
            void negativeLength() {
                FileEntry mock = mock(FileEntry.class);
                when(mock.length()).thenReturn(-10L);
                assertEquals(-10L, mock.length());
            }
        }
    
        @ParameterizedTest(name = "getType returns {0}")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  10. guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java

          if (x.length() != (originalString.length() * count)) {
            throw new RuntimeException("Wrong length: " + x);
          }
        }
      }
    
      private static String oldRepeat(String string, int count) {
        // If this multiplication overflows, a NegativeArraySizeException or
        // OutOfMemoryError is not far behind
        int len = string.length();
        int size = len * count;
        char[] array = new char[size];
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.4K bytes
    - Viewed (0)
Back to top