Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 184 for source (0.3 sec)

  1. guava-tests/test/com/google/common/io/MultiReaderTest.java

        assertEquals(testString.length() * 3, result.length());
      }
    
      public void testReady() throws Exception {
        CharSource source = newCharSource("a");
        Iterable<? extends CharSource> list = ImmutableList.of(source, source);
        Reader joinedReader = CharSource.concat(list).openStream();
    
        assertTrue(joinedReader.ready());
        assertEquals('a', joinedReader.read());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/CharSourceTester.java

        if (expectedLines.isEmpty()) {
          assertNull(source.readFirstLine());
        } else {
          assertEquals(expectedLines.get(0), source.readFirstLine());
        }
      }
    
      public void testReadLines_toList() throws IOException {
        assertExpectedLines(source.readLines());
      }
    
      public void testIsEmpty() throws IOException {
        assertEquals(expected.isEmpty(), source.isEmpty());
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 6.8K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/MultimapPutAllMultimapTester.java

      public void testPutAllWithNullValue() {
        Multimap<K, V> source = getSubjectGenerator().create(Helpers.mapEntry(k0(), null));
        assertTrue(multimap().putAll(source));
        assertTrue(multimap().containsEntry(k0(), null));
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_KEYS})
      public void testPutAllWithNullKey() {
        Multimap<K, V> source = getSubjectGenerator().create(Helpers.mapEntry(null, v0()));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 4.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/EndpointPair.java

            return false;
          }
    
          return source().equals(other.source()) && target().equals(other.target());
        }
    
        @Override
        public int hashCode() {
          return Objects.hashCode(source(), target());
        }
    
        @Override
        public String toString() {
          return "<" + source() + " -> " + target() + ">";
        }
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 01 17:18:04 GMT 2021
    - 8.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/math/MathBenchmarking.java

      static double randomDouble(int maxExponent) {
        double result = RANDOM_SOURCE.nextDouble();
        result = Math.scalb(result, RANDOM_SOURCE.nextInt(maxExponent + 1));
        return RANDOM_SOURCE.nextBoolean() ? result : -result;
      }
    
      /** Returns a random integer between zero and {@code MAX_EXPONENT}. */
      static int randomExponent() {
        return RANDOM_SOURCE.nextInt(MAX_EXPONENT + 1);
      }
    
      static double randomPositiveDouble() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.1K bytes
    - Viewed (0)
  6. android/guava-testlib/pom.xml

      <build>
        <plugins>
          <plugin>
            <artifactId>maven-compiler-plugin</artifactId>
          </plugin>
          <plugin>
            <artifactId>maven-source-plugin</artifactId>
            <executions>
              <execution>
                <id>attach-test-sources</id>
                <phase>post-integration-test</phase>
                <goals><goal>test-jar</goal></goals>
              </execution>
            </executions>
          </plugin>
    XML
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jul 31 18:55:22 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  7. futures/listenablefuture9999/pom.xml

        the listenablefuture artifact or manually forcing their build systems to
        use 9999.0-....
      </description>
      <build>
        <plugins>
          <plugin>
            <artifactId>maven-source-plugin</artifactId>
          </plugin>
          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>animal-sniffer-maven-plugin</artifactId>
          </plugin>
          <plugin>
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 12 21:42:09 GMT 2018
    - 2.2K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

      public static <E extends @Nullable Object> MinimalIterable<E> of(E... elements) {
        // Make sure to get an unmodifiable iterator
        return new MinimalIterable<>(Arrays.asList(elements).iterator());
      }
    
      /**
       * Returns an iterable whose iterator returns the given elements in order. The elements are copied
       * out of the source collection at the time this method is called.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  9. guava-tests/benchmark/com/google/common/math/BigIntegerMathBenchmark.java

      int factorialBound;
    
      @BeforeExperiment
      void setUp() {
        for (int i = 0; i < ARRAY_SIZE; i++) {
          factorials[i] = RANDOM_SOURCE.nextInt(factorialBound);
          slowFactorials[i] = RANDOM_SOURCE.nextInt(factorialBound);
          binomials[i] = RANDOM_SOURCE.nextInt(factorials[i] + 1);
        }
      }
    
      /** Previous version of BigIntegerMath.factorial, kept for timing purposes. */
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.3K bytes
    - Viewed (0)
  10. guava-gwt/src/com/google/common/collect/Collect.gwt.xml

    <module>
    <source path="">
      <!-- Hack to keep collect from hiding collect.testing supersource: -->
      <exclude name="**/testing/**"/>
    </source>
    
    <!--
        We used to set this only for packages that had manual supersource. That
        worked everywhere that I know of except for one place: when running the GWT
        util.concurrent tests under Guava.
    
        The problem is that GWT responds poorly to two .gwt.xml files in the same
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 24 14:08:06 GMT 2023
    - 1.5K bytes
    - Viewed (0)
Back to top