Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 3,237 for New (0.01 seconds)

  1. samples/guide/src/main/java/okhttp3/recipes/UploadProgress.java

              }
            }
          }
        };
    
        RequestBody requestBody = RequestBody.create(
          new File("docs/images/logo-square.png"),
          MEDIA_TYPE_PNG);
    
        Request request = new Request.Builder()
          .header("Authorization", "Client-ID " + IMGUR_CLIENT_ID)
          .url("https://api.imgur.com/3/image")
          .post(new ProgressRequestBody(requestBody, progressListener))
          .build();
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Aug 30 17:01:12 GMT 2025
    - 4.2K bytes
    - Click Count (1)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/LookupInvokerLoggingTest.java

            // This should NOT call setRootLoggerLevel, allowing configuration file to take effect
    
            MockInvokerRequest invokerRequest = new MockInvokerRequest(false); // not verbose
            MockOptions options = new MockOptions(false); // not quiet
            MockSlf4jConfiguration slf4jConfiguration = new MockSlf4jConfiguration();
    
            // Simulate the fixed logic from LookupInvoker.prepareLogging()
            Slf4jConfiguration.Level loggerLevel;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Oct 08 21:10:33 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  3. android/guava-tests/benchmark/com/google/common/primitives/UnsignedBytesBenchmark.java

          if (javaImpl.compare(ba3, ba4) == 0) {
            throw new Error(); // deoptimization
          }
        }
      }
    
      @Benchmark
      void diffLastUnsafe(int reps) {
        for (int i = 0; i < reps; ++i) {
          if (unsafeImpl.compare(ba3, ba4) == 0) {
            throw new Error(); // deoptimization
          }
        }
      }
    
      /*
      try {
        UnsignedBytesBenchmark bench = new UnsignedBytesBenchmark();
        bench.length = 1024;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.8K bytes
    - Click Count (0)
  4. compat/maven-model/src/test/java/org/apache/maven/model/PrerequisitesTest.java

        @Test
        void testHashCodeNullSafe() {
            new Prerequisites().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Prerequisites().equals(null));
    
            new Prerequisites().equals(new Prerequisites());
        }
    
        @Test
        void testEqualsIdentity() {
            Prerequisites thing = new Prerequisites();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  5. compat/maven-model/src/test/java/org/apache/maven/model/SiteTest.java

     *
     */
    class SiteTest {
    
        @Test
        void testHashCodeNullSafe() {
            new Site().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Site().equals(null));
    
            new Site().equals(new Site());
        }
    
        @Test
        void testEqualsIdentity() {
            Site thing = new Site();
            assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing);
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  6. compat/maven-model/src/test/java/org/apache/maven/model/ActivationPropertyTest.java

        @Test
        void testHashCodeNullSafe() {
            new ActivationProperty().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new ActivationProperty().equals(null));
    
            new ActivationProperty().equals(new ActivationProperty());
        }
    
        @Test
        void testEqualsIdentity() {
            ActivationProperty thing = new ActivationProperty();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  7. compat/maven-model/src/test/java/org/apache/maven/model/DeveloperTest.java

    class DeveloperTest {
    
        @Test
        void testHashCodeNullSafe() {
            new Developer().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Developer().equals(null));
    
            new Developer().equals(new Developer());
        }
    
        @Test
        void testEqualsIdentity() {
            Developer thing = new Developer();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  8. compat/maven-model/src/test/java/org/apache/maven/model/ParentTest.java

     *
     */
    class ParentTest {
    
        @Test
        void testHashCodeNullSafe() {
            new Parent().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Parent().equals(null));
    
            new Parent().equals(new Parent());
        }
    
        @Test
        void testEqualsIdentity() {
            Parent thing = new Parent();
            assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  9. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/JSpecifyNullUnmarkedChangesTest.kt

                        public String[] baz() { return new String[] {"some"}; }
                    }
                """,
                v2 = """
                    public class Source {
                        @$nullUnmarkedAnnotationName public String foo() { return "bar"; }
                        public @$nullUnmarkedAnnotationName String[] baz() { return new String[] {"some", null}; }
                    }
                """
            ) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Oct 27 09:26:32 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  10. impl/maven-core/src/test/java/org/apache/maven/graph/DefaultGraphBuilderTest.java

        private final ProjectsSelector projectsSelector = new DefaultProjectsSelector(projectBuilder);
    
        // Not using mocks for these strategies - a mock would just copy the actual implementation.
    
        private final ModelProcessor modelProcessor = new DefaultModelProcessor(null, Map.of());
        private final PomlessCollectionStrategy pomlessCollectionStrategy = new PomlessCollectionStrategy(projectBuilder);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 09 20:39:03 GMT 2025
    - 28K bytes
    - Click Count (0)
Back to Top