Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,098 for NEW (0.1 sec)

  1. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

        URL url1 = new URL("file:/a");
        URL url2 = new URL("file:/b");
        URLClassLoader grandParent = new URLClassLoader(new URL[] {url1}, null);
        URLClassLoader parent = new URLClassLoader(new URL[] {url2}, grandParent);
        assertThat(ClassPath.getClassPathEntries(new ClassLoader(parent) {}))
            .containsExactly(new File("/a"), grandParent, new File("/b"), parent);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Apr 26 14:02:27 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-groovy/src/main/java/org/gradle/model/dsl/internal/transform/RuleVisitor.java

                List<Statement> statements = new ArrayList<Statement>();
                statements.add(new ExpressionStatement(new BinaryExpression(new FieldExpression(inputsField), ASSIGN, new VariableExpression("inputs"))));
                statements.add(new ExpressionStatement(new BinaryExpression(new FieldExpression(ruleFactoryField), ASSIGN, new VariableExpression("ruleFactory"))));
                node.addMethod(new MethodNode("makeRule",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 14:04:39 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/collection/ArrayUtilTest.java

            assertThat(ArrayUtil.equalsIgnoreSequence(new Object[] { "1" }, new Object[] { "1" }), is(true));
            assertThat(ArrayUtil.equalsIgnoreSequence(new Object[] { "1", "2", "3" }, new Object[] { "2", "3", "1" }), is(true));
            assertThat(ArrayUtil.equalsIgnoreSequence(new Object[] { "1" }, new Object[] { "2" }), is(not(true)));
            assertThat(ArrayUtil.equalsIgnoreSequence(new Object[] { "1" }, new Object[] {}), is(not(true)));
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/BytesTest.java

        testRotate(new byte[] {1, 2}, -1, new byte[] {2, 1});
        testRotate(new byte[] {1, 2}, -2, new byte[] {1, 2});
        testRotate(new byte[] {1, 2}, 0, new byte[] {1, 2});
        testRotate(new byte[] {1, 2}, 1, new byte[] {2, 1});
        testRotate(new byte[] {1, 2}, 2, new byte[] {1, 2});
        testRotate(new byte[] {1, 2}, 3, new byte[] {2, 1});
    
        testRotate(new byte[] {1, 2, 3}, -5, new byte[] {3, 1, 2});
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 06 16:10:08 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/CharsTest.java

      public void testRotate() {
        testRotate(new char[] {}, -1, new char[] {});
        testRotate(new char[] {}, 0, new char[] {});
        testRotate(new char[] {}, 1, new char[] {});
    
        testRotate(new char[] {'1'}, -2, new char[] {'1'});
        testRotate(new char[] {'1'}, -1, new char[] {'1'});
        testRotate(new char[] {'1'}, 0, new char[] {'1'});
        testRotate(new char[] {'1'}, 1, new char[] {'1'});
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactoryTest.java

            Server server = new Server();
            server.setId("repository");
            server.setUsername("jason");
            server.setPassword("abc123");
            Xpp3Dom httpConfiguration = new Xpp3Dom("httpConfiguration");
            Xpp3Dom httpHeaders = new Xpp3Dom("httpHeaders");
            Xpp3Dom property = new Xpp3Dom("property");
            Xpp3Dom headerName = new Xpp3Dom("name");
            headerName.setValue("header");
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Mar 27 14:46:12 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  7. platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/MessageTest.groovy

    class MessageTest extends Specification {
        GroovyClassLoader source = new GroovyClassLoader(getClass().classLoader)
        GroovyClassLoader dest = new GroovyClassLoader(getClass().classLoader)
    
        def "can transport graph of exceptions"() {
            def cause1 = new ExceptionWithState("nested-1", ["a", 1])
            def cause2 = new IOException("nested-2")
            def cause = new DefaultMultiCauseException("nested", cause1, cause2)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

        testRotate(new double[] {1, 2}, -3, new double[] {2, 1});
        testRotate(new double[] {1, 2}, -1, new double[] {2, 1});
        testRotate(new double[] {1, 2}, -2, new double[] {1, 2});
        testRotate(new double[] {1, 2}, 0, new double[] {1, 2});
        testRotate(new double[] {1, 2}, 1, new double[] {2, 1});
        testRotate(new double[] {1, 2}, 2, new double[] {1, 2});
        testRotate(new double[] {1, 2}, 3, new double[] {2, 1});
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 15:43:06 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/IntsTest.java

        testRotate(new int[] {1, 2}, -1, new int[] {2, 1});
        testRotate(new int[] {1, 2}, -2, new int[] {1, 2});
        testRotate(new int[] {1, 2}, 0, new int[] {1, 2});
        testRotate(new int[] {1, 2}, 1, new int[] {2, 1});
        testRotate(new int[] {1, 2}, 2, new int[] {1, 2});
        testRotate(new int[] {1, 2}, 3, new int[] {2, 1});
    
        testRotate(new int[] {1, 2, 3}, -5, new int[] {3, 1, 2});
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 06 16:10:08 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/CloserTest.java

        assertSuppressed(
            new Suppression(c2, tryException, c2Exception),
            new Suppression(c1, tryException, c1Exception));
      }
    
      public void testErrors() throws IOException {
        Closer closer = new Closer(suppressor);
    
        Error c1Exception = new Error();
        Error c2Exception = new Error();
        Error c3Exception = new Error();
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top