Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 431 for ints (0.02 sec)

  1. guava/src/com/google/common/primitives/Shorts.java

       * @since 32.0.0
       */
      public static void rotate(short[] array, int distance, int fromIndex, int toIndex) {
        // See Ints.rotate for more details about possible algorithms here.
        checkNotNull(array);
        checkPositionIndexes(fromIndex, toIndex, array.length);
        if (array.length <= 1) {
          return;
        }
    
        int length = toIndex - fromIndex;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        assertThat(e.getStackTrace()[index - 1].getMethodName()).isEqualTo("get");
      }
    
      private static int findStackFrame(ExecutionException e, String clazz, String method) {
        StackTraceElement[] elements = e.getStackTrace();
        for (int i = 0; i < elements.length; i++) {
          StackTraceElement element = elements[i];
          if (element.getClassName().equals(clazz) && element.getMethodName().equals(method)) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

            }
    
            @ParameterizedTest
            @DisplayName("Should handle various sector sizes")
            @ValueSource(ints = { 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536 })
            void shouldHandleVariousSectorSizes(int sectorSize) throws SMBProtocolDecodingException {
                // Given
                ByteBuffer buffer = ByteBuffer.allocate(24);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java

            // Calculate buffer size
            int serverNameSize = 16; // Fixed field size
            int versionSize = 2;
            int typeSize = 4;
            int offsetSize = 4;
            int commentSize = comment.length() + 1;
            int totalSize = serverNameSize + versionSize + typeSize + offsetSize + commentSize;
    
            byte[] buffer = new byte[totalSize + 100];
            int bufferIndex = 0;
            int start = 0;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java

            }
    
            @ParameterizedTest
            @DisplayName("Should handle various sector sizes")
            @ValueSource(ints = { 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536 })
            void shouldHandleVariousSectorSizes(int sectorSize) throws SMBProtocolDecodingException {
                // Given
                ByteBuffer buffer = ByteBuffer.allocate(32);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/primitives/Chars.java

       * @since 32.0.0
       */
      public static void rotate(char[] array, int distance, int fromIndex, int toIndex) {
        // See Ints.rotate for more details about possible algorithms here.
        checkNotNull(array);
        checkPositionIndexes(fromIndex, toIndex, array.length);
        if (array.length <= 1) {
          return;
        }
    
        int length = toIndex - fromIndex;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/primitives/Floats.java

       * @since 32.0.0
       */
      public static void rotate(float[] array, int distance, int fromIndex, int toIndex) {
        // See Ints.rotate for more details about possible algorithms here.
        checkNotNull(array);
        checkPositionIndexes(fromIndex, toIndex, array.length);
        if (array.length <= 1) {
          return;
        }
    
        int length = toIndex - fromIndex;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Iterators.java

      /**
       * Copies an iterator's elements into an array. The iterator will be left exhausted: its {@code
       * hasNext()} method will return {@code false}.
       *
       * @param iterator the iterator to copy
       * @param type the type of the elements
       * @return a newly-allocated array into which all the elements of the iterator have been copied
       */
      @GwtIncompatible // Array.newInstance(Class, int)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 50.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/primitives/Doubles.java

       * @since 32.0.0
       */
      public static void rotate(double[] array, int distance, int fromIndex, int toIndex) {
        // See Ints.rotate for more details about possible algorithms here.
        checkNotNull(array);
        checkPositionIndexes(fromIndex, toIndex, array.length);
        if (array.length <= 1) {
          return;
        }
    
        int length = toIndex - fromIndex;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

            void testSignThreadSafety() throws InterruptedException {
                int threadCount = 10;
                Thread[] threads = new Thread[threadCount];
                byte[][] dataArrays = new byte[threadCount][128];
    
                for (int i = 0; i < threadCount; i++) {
                    final int index = i;
                    dataArrays[i] = new byte[128];
                    Arrays.fill(dataArrays[i], (byte) i);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
Back to top