Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,602 for lengths (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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. android/guava/src/com/google/common/base/Strings.java

        int maxSuffixLength = min(a.length(), b.length());
        int s = 0;
        while (s < maxSuffixLength && a.charAt(a.length() - s - 1) == b.charAt(b.length() - s - 1)) {
          s++;
        }
        if (validSurrogatePairAt(a, a.length() - s - 1)
            || validSurrogatePairAt(b, b.length() - s - 1)) {
          s--;
        }
        return a.subSequence(a.length() - s, a.length()).toString();
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 27 17:53:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/compression/DefaultCompressionServiceTest.java

            byte[] outputBuffer = new byte[testData.length + 100];
            int writtenBytes =
                    compressionService.decompress(compressed, 0, compressed.length, outputBuffer, 50, CompressionService.COMPRESSION_LZ77);
    
            assertEquals(testData.length, writtenBytes);
    
            byte[] extracted = new byte[testData.length];
            System.arraycopy(outputBuffer, 50, extracted, 0, testData.length);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/HexdumpTest.java

            assertFalse(result.isEmpty());
            assertEquals(size * 2, result.length()); // Each byte becomes 2 hex chars
        }
    
        @Test
        @DisplayName("Should format with specific offset and length")
        void testHexdumpWithOffsetAndLength() {
            // Given
            byte[] data = createTestData(64);
            int offset = 16;
            int length = 32;
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java

            }
            if (isDirect) {
                out.writeDirect(buf, off, length, 1);
                return;
            }
            out.write(buf, off, length);
        }
    
        @Override
        protected void doReceiveFragment(final byte[] buf, final boolean isDirect) throws IOException {
            int off, flags, length;
    
            if (buf.length < max_recv) {
                throw new IllegalArgumentException("buffer too small");
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top