Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 359 for So (0.13 sec)

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

            .containsExactly(0.0, 1.0, 3.0, 6.0, 10.0, 15.0, 21.0)
            .inOrder();
      }
    
      public void testCopyOf_array_empty() {
        /*
         * We don't guarantee the same-as property, so we aren't obligated to test it. However, it's
         * useful in testing - when two things are the same then one can't have bugs the other doesn't.
         */
        assertThat(ImmutableDoubleArray.copyOf(new double[0]))
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 06 15:23:21 GMT 2023
    - 20K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/reflect/TypeResolver.java

             *
             * 2a. If the resolved types are identical to the original types, then we can return the
             * original, identical JDK TypeVariable. By doing so, we sidestep the problem entirely.
             *
             * 2b. If the resolved types are different from the original types, things are trickier. The
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 24.2K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java

         * method "filters" out in WHICH artifact are we interested in, but it intentionally neglects extension as
         * ArtifactDescriptorReader modifies extension to "pom" during collect. So all we have to rely on is GAV only.
         */
        static boolean isInScope(Artifact artifact, Artifact nodeArtifact) {
            return Objects.equals(artifact.getGroupId(), nodeArtifact.getGroupId())
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Apr 12 11:08:37 GMT 2023
    - 9.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/StreamsTest.java

    public class StreamsTest extends TestCase {
      /*
       * Full and proper black-box testing of a Stream-returning method is extremely involved, and is
       * overkill when nearly all Streams are produced using well-tested JDK calls. So, we cheat and
       * just test that the toArray() contents are as expected.
       */
      public void testStream_nonCollection() {
        assertThat(stream(FluentIterable.of())).isEmpty();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 20K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/UnsignedBytes.java

       */
      @CanIgnoreReturnValue
      public static byte parseUnsignedByte(String string, int radix) {
        int parse = Integer.parseInt(checkNotNull(string), radix);
        // We need to throw a NumberFormatException, so we have to duplicate checkedCast. =(
        if (parse >> Byte.SIZE == 0) {
          return (byte) parse;
        } else {
          throw new NumberFormatException("out of range: " + parse);
        }
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 18.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

                            byte[] exchangedKey = new byte[16];
                            RC4 rc4 = new RC4(ntlm2SessionKey);
                            rc4.update(masterKey, 0, 16, exchangedKey, 0);
    /* RC4 was not added to Java until 1.5u7 so let's use our own for a little while longer ...
                            try {
                                Cipher rc4 = Cipher.getInstance("RC4");
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 22.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

        start();
      }
    
      // Thread.stop() is okay because all threads started by a test are dying at the end of the test,
      // so there is no object state put at risk by stopping the threads abruptly. In some cases a test
      // may put a thread into an uninterruptible operation intentionally, so there is no other way to
      // clean up these threads.
      @SuppressWarnings("deprecation")
      @Override
      public void tearDown() throws Exception {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

            .containsExactly(0L, 1L, 3L, 6L, 10L, 15L, 21L)
            .inOrder();
      }
    
      public void testCopyOf_array_empty() {
        /*
         * We don't guarantee the same-as property, so we aren't obligated to test it. However, it's
         * useful in testing - when two things are the same then one can't have bugs the other doesn't.
         */
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 20.2K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

        super.setUp();
    
        empty = new Target(emptyCollection(), "empty");
        /*
         * We test that nullSingleton.retainAll(disjointList) does NOT throw a
         * NullPointerException when disjointList does not, so we can't use
         * MinimalCollection, which throws NullPointerException on calls to
         * contains(null).
         */
        List<E> disjointList = Arrays.asList(e3(), e4());
        disjoint = new Target(disjointList, "disjoint");
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java

            assertNotNull(paths);
            assertEquals(10, paths.size());
            assertEquals("test-extension-1.jar", paths.get(0).getFileName().toString());
    
            // JUnit has an "Automatic-Module-Name", so it appears on the module path.
            Map<PathType, List<Path>> dispatched = session.resolveDependencies(
                    coord, PathScope.TEST_COMPILE, Arrays.asList(JavaPathType.CLASSES, JavaPathType.MODULES));
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 9.9K bytes
    - Viewed (2)
Back to top