Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 490 for spre (0.3 sec)

  1. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

       *
       * <p>Suppose {@code x} is a queue known to contain only strings. The following code can be used
       * to dump the queue into a newly allocated array of {@code String}:
       *
       * <pre>
       *     String[] y = x.toArray(new String[0]);</pre>
       *
       * <p>Note that {@code toArray(new Object[0])} is identical in function to {@code toArray()}.
       *
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 19.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/PredicatesTest.java

      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testIsNull_serialization() {
        Predicate<String> pre = Predicates.isNull();
        Predicate<String> post = SerializableTester.reserializeAndAssert(pre);
        assertEquals(pre.apply("foo"), post.apply("foo"));
        assertEquals(pre.apply(null), post.apply(null));
      }
    
      public void testNotNull_apply() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 32.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

       * thread was holding a lock, the listener may deadlock or break lock isolation.
       *
       * <p>This instance is equivalent to:
       *
       * <pre>{@code
       * final class DirectExecutor implements Executor {
       *   public void execute(Runnable r) {
       *     r.run();
       *   }
       * }
       * }</pre>
       *
       * <p>This should be preferred to {@link #newDirectExecutorService()} because implementing the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  4. maven-core/src/test/java/org/apache/maven/plugin/PluginManagerTest.java

         * is in the Antlr plugin which comes bundled with a version of Antlr but the user often times needs
         * to use a specific version. We need to make sure the version that they specify takes precedence.
         */
        @Test
        void testMojoWhereInternallyStatedDependencyIsOverriddenByProject() throws Exception {}
    
        /**
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

       *
       * <p>Suppose {@code x} is a queue known to contain only strings. The following code can be used
       * to dump the queue into a newly allocated array of {@code String}:
       *
       * <pre>
       *     String[] y = x.toArray(new String[0]);</pre>
       *
       * <p>Note that {@code toArray(new Object[0])} is identical in function to {@code toArray()}.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 19.5K bytes
    - Viewed (0)
  6. maven-core/plugin-manager.txt

    dependency information that Mercury can understand, and in production we would have the pre-digested format that Mercury could utilize to resolve and retrieve dependencies. We need to be careful that we are using Mercury during development and production so that we don’t get in the situation where Maven 2.x is resolving differently than Mercury is. We can still leverage POMs during development but we need to make sure Mercury is doing the work.
    
    With respect to development inside an IDE the...
    Plain Text
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Jul 18 22:45:13 GMT 2022
    - 12.9K bytes
    - Viewed (0)
  7. docs/en/docs/alternatives.md

    Another big feature needed by APIs is data validation, making sure that the data is valid, given certain parameters. For example, that some field is an `int`, and not some random string. This is especially useful for incoming data.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

       *
       * <p>Suppose {@code x} is a queue known to contain only strings. The following code can be used
       * to dump the queue into a newly allocated array of {@code String}:
       *
       * <pre>
       *     String[] y = x.toArray(new String[0]);</pre>
       *
       * <p>Note that {@code toArray(new Object[0])} is identical in function to {@code toArray()}.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 22.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/ByteStreamsTest.java

        InputStream in = new ByteArrayInputStream(PRE_FILLED_100);
        byte[] b = ByteStreams.toByteArray(in, 100);
        assertThat(b).isEqualTo(PRE_FILLED_100);
      }
    
      public void testToByteArray_withSize_givenSmallerSize() throws IOException {
        InputStream in = new ByteArrayInputStream(PRE_FILLED_100);
        byte[] b = ByteStreams.toByteArray(in, 80);
        assertThat(b).isEqualTo(PRE_FILLED_100);
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.9K bytes
    - Viewed (1)
  10. guava-tests/test/com/google/common/io/MoreFilesTest.java

          assertThat(MoreFiles.equal(fooPath, fooCopy)).isFalse();
    
          // should also assert that a Path that erroneously reports a size 0 can still be compared,
          // not sure how to do that with the Path API
        }
      }
    
      public void testEqual_links() throws IOException {
        try (FileSystem fs = Jimfs.newFileSystem(Configuration.unix())) {
          Path fooPath = fs.getPath("foo");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 29 22:57:05 GMT 2024
    - 27.2K bytes
    - Viewed (0)
Back to top