Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 187 for 101 (0.02 seconds)

  1. guava-tests/test/com/google/common/primitives/IntsTest.java

        Ints.reverse(input, fromIndex, toIndex);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
      public void testReverseIndexed() {
        testReverse(new int[] {}, 0, 0, new int[] {});
        testReverse(new int[] {1}, 0, 1, new int[] {1});
        testReverse(new int[] {1, 2}, 0, 2, new int[] {2, 1});
        testReverse(new int[] {3, 1, 1}, 0, 2, new int[] {1, 3, 1});
        testReverse(new int[] {3, 1, 1}, 0, 1, new int[] {3, 1, 1});
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 29.4K bytes
    - Click Count (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTest.java

                        </extension>
                        <extension>
                            <groupId>io.takari.maven</groupId>
                            <artifactId>takari-smart-builder</artifactId>
                            <version>1.0.1</version>
                        </extension>
                    </extensions>
                    """;
            Path dotMvn = cwd.resolve(".mvn");
            Files.createDirectories(dotMvn);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Oct 21 12:17:55 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

        char[] buf = new char[10];
        assertThrows(IndexOutOfBoundsException.class, () -> reader.read(buf, 0, 11));
    
        assertThrows(IndexOutOfBoundsException.class, () -> reader.read(buf, 10, 1));
    
        assertThrows(IndexOutOfBoundsException.class, () -> reader.read(buf, 11, 0));
    
        assertThrows(IndexOutOfBoundsException.class, () -> reader.read(buf, -1, 5));
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

        char[] buf = new char[10];
        assertThrows(IndexOutOfBoundsException.class, () -> reader.read(buf, 0, 11));
    
        assertThrows(IndexOutOfBoundsException.class, () -> reader.read(buf, 10, 1));
    
        assertThrows(IndexOutOfBoundsException.class, () -> reader.read(buf, 11, 0));
    
        assertThrows(IndexOutOfBoundsException.class, () -> reader.read(buf, -1, 5));
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  5. futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java

     * the beginning, thanks to using different `-source -target` values for compiling our `-jre` and
     * `-android` "flavors.")
     *
     * (We could consider releasing a listenablefuture:1.0.1 someday. But we would want to look into how
     * that affects users, especially users of the Android Gradle Plugin, since the plugin developers
     * put in a special hack for us: https://issuetracker.google.com/issues/131431257)
     */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 8K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/math/LongMath.java

          }
        }
        for (long accum = 1; ; k >>= 1) {
          switch (k) {
            case 0:
              return accum;
            case 1:
              return accum * b;
            default:
              accum *= ((k & 1) == 0) ? 1 : b;
              b *= b;
          }
        }
      }
    
      /**
       * Returns the square root of {@code x}, rounded with the specified rounding mode.
       *
       * @throws IllegalArgumentException if {@code x < 0}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 09 23:01:02 GMT 2026
    - 46.8K bytes
    - Click Count (0)
  7. cmd/object-api-datatypes.go

    	{"LESS_THAN_1024_B", 0, humanize.KiByte - 1},
    	{"BETWEEN_1024B_AND_1_MB", humanize.KiByte, humanize.MiByte - 1},
    	{"BETWEEN_1_MB_AND_10_MB", humanize.MiByte, humanize.MiByte*10 - 1},
    	{"BETWEEN_10_MB_AND_64_MB", humanize.MiByte * 10, humanize.MiByte*64 - 1},
    	{"BETWEEN_64_MB_AND_128_MB", humanize.MiByte * 64, humanize.MiByte*128 - 1},
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  8. cmd/httprange.go

    //
    // Case 1: Not present -> represented by a nil RangeSpec
    // Case 2: bytes=1-10 (absolute start and end offsets) -> RangeSpec{false, 1, 10}
    // Case 3: bytes=10- (absolute start offset with end offset unspecified) -> RangeSpec{false, 10, -1}
    // Case 4: bytes=-30 (suffix length specification) -> RangeSpec{true, -30, -1}
    type HTTPRangeSpec struct {
    	// Does the range spec refer to a suffix of the object?
    	IsSuffixLength bool
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/primitives/DoublesTest.java

        assertThat(input).isEqualTo(expectedOutput);
      }
    
      public void testReverseIndexed() {
        testReverse(new double[] {}, 0, 0, new double[] {});
        testReverse(new double[] {1}, 0, 1, new double[] {1});
        testReverse(new double[] {1, 2}, 0, 2, new double[] {2, 1});
        testReverse(new double[] {3, 1, 1}, 0, 2, new double[] {1, 3, 1});
        testReverse(new double[] {3, 1, 1}, 0, 1, new double[] {3, 1, 1});
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 30.9K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/primitives/LongsTest.java

        assertThat(input).isEqualTo(expectedOutput);
      }
    
      public void testReverseIndexed() {
        testReverse(new long[] {}, 0, 0, new long[] {});
        testReverse(new long[] {1}, 0, 1, new long[] {1});
        testReverse(new long[] {1, 2}, 0, 2, new long[] {2, 1});
        testReverse(new long[] {3, 1, 1}, 0, 2, new long[] {1, 3, 1});
        testReverse(new long[] {3, 1, 1}, 0, 1, new long[] {3, 1, 1});
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 28.8K bytes
    - Click Count (0)
Back to Top