Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1221 - 1230 of 4,619 for _new (0.03 sec)

  1. src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeResponseTest.java

            @DisplayName("writeSetupWireFormat returns 0 for all indices")
            void writeSetupWireFormatReturnsZero(int index) {
                TransWaitNamedPipeResponse resp = new TransWaitNamedPipeResponse();
                assertEquals(0, resp.writeSetupWireFormat(new byte[10], index), "writeSetupWireFormat should always return 0");
            }
    
            @ParameterizedTest
            @ValueSource(ints = { 0, 5, -5, Integer.MAX_VALUE })
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ImmutableListCopyOfConcurrentlyModifiedInputTest.java

        void perform(List<Integer> list);
      }
    
      static ListFrobber add(int element) {
        return new ListFrobber() {
          @Override
          public void perform(List<Integer> list) {
            list.add(0, element);
          }
        };
      }
    
      static ListFrobber remove() {
        return new ListFrobber() {
          @Override
          public void perform(List<Integer> list) {
            list.remove(0);
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t02/ProjectInheritanceTest.java

            File pom0 = new File(localRepo, "p0/pom.xml");
            File pom1 = new File(pom0.getParentFile(), "p1/pom.xml");
            File pom2 = new File(pom1.getParentFile(), "p2/pom.xml");
            File pom3 = new File(pom2.getParentFile(), "p3/pom.xml");
            File pom4 = new File(pom3.getParentFile(), "p4/pom.xml");
            File pom5 = new File(pom4.getParentFile(), "p5/pom.xml");
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jun 04 10:35:11 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java

      public static <K extends Comparable<?>, V> Builder<K, V> naturalOrder() {
        return new Builder<K, V>(Ordering.natural());
      }
    
      public static <K, V> Builder<K, V> orderedBy(Comparator<K> comparator) {
        return new Builder<K, V>(comparator);
      }
    
      public static <K extends Comparable<?>, V> Builder<K, V> reverseOrder() {
        return new Builder<K, V>(Ordering.natural().reverse());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java

      public void testExecute() {
        MockExecutor mock = new MockExecutor();
        TestExecutor testExecutor = new TestExecutor(mock);
        testExecutor.execute(doNothing());
        mock.assertLastMethodCalled("execute");
      }
    
      public void testSubmit() throws InterruptedException, ExecutionException {
        {
          MockExecutor mock = new MockExecutor();
          TestExecutor testExecutor = new TestExecutor(mock);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

            ImmutableList.of(
                ListTestSuiteBuilder.using(new ImmutableIntArrayAsListGenerator())
                    .named("ImmutableIntArray.asList"),
                ListTestSuiteBuilder.using(new ImmutableIntArrayHeadSubListAsListGenerator())
                    .named("ImmutableIntArray.asList, head subList"),
                ListTestSuiteBuilder.using(new ImmutableIntArrayTailSubListAsListGenerator())
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

            SmbCircuitBreaker backpressureCircuitBreaker = new SmbCircuitBreaker("backpressure-test", 5, 2, 1000, 3, false, true, 2);
    
            try {
                CountDownLatch startLatch = new CountDownLatch(1);
                CountDownLatch completeLatch = new CountDownLatch(5);
                AtomicInteger rejectedCount = new AtomicInteger(0);
                AtomicInteger successCount = new AtomicInteger(0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

                    }
                  }
                  return true;
                };
        TypeWithDuplicates a = new TypeWithDuplicates(1, 1);
        TypeWithDuplicates b1 = new TypeWithDuplicates(2, 1);
        TypeWithDuplicates b2 = new TypeWithDuplicates(2, 2);
        TypeWithDuplicates c = new TypeWithDuplicates(3, 1);
        CollectorTester.of(collector, equivalence)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 46.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/graph/MapCacheTest.java

        return Arrays.asList(
            new Object[][] {
              {new MapIteratorCache<String, String>(new HashMap<String, String>())},
              {new MapIteratorCache<String, String>(new TreeMap<String, String>(nullsLast))},
              {new MapRetrievalCache<String, String>(new HashMap<String, String>())},
              {new MapRetrievalCache<String, String>(new TreeMap<String, String>(nullsLast))}
            });
      }
    
      @Before
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

                    return new LongItem(buf);
                }
                return new BigIntegerItem(buf);
            }
            return new StringItem(buf, false);
        }
    
        private static String stripLeadingZeroes(String buf) {
            if (buf == null || buf.isEmpty()) {
                return "0";
            }
            for (int i = 0; i < buf.length(); ++i) {
                char c = buf.charAt(i);
                if (c != '0') {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 26.4K bytes
    - Viewed (0)
Back to top