Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 271 - 280 of 4,942 for new (0.03 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

        testSort(new int[] {}, 0, 0, new int[] {});
        testSort(new int[] {2}, 0, 1, new int[] {2});
        testSort(new int[] {2, 1, 0}, 0, 2, new int[] {1, 2, 0});
        testSort(new int[] {2, GREATEST, 1, LEAST}, 1, 4, new int[] {2, LEAST, 1, GREATEST});
      }
    
      public void testSortDescending() {
        testSortDescending(new int[] {}, new int[] {});
        testSortDescending(new int[] {1}, new int[] {1});
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb1/smb1/Trans2GetDfsReferralTest.java

        void testNullPath() {
            Trans2GetDfsReferral cmd = new Trans2GetDfsReferral(null);
            byte[] buffer = new byte[10];
            assertThrows(NullPointerException.class, () -> cmd.writeParametersWireFormat(buffer, 0));
        }
    
        @Nested
        @DisplayName("read methods are no‑ops")
        class ReadMethods {
            Trans2GetDfsReferral cmd = new Trans2GetDfsReferral("/foo");
    
            @Test
            void setup() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenSessionBuilderSupplier.java

            return new ChainedDependencyGraphTransformer(
                    new TypeCollector(),
                    new ConflictResolver(
                            new ConfigurableVersionSelector(), new ManagedScopeSelector(getScopeManager()),
                            new SimpleOptionalitySelector(), new ManagedScopeDeriver(getScopeManager())),
                    new ManagedDependencyContextRefiner(getScopeManager()),
                    new TypeDeriver());
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Mar 28 11:22:05 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java

      public void testLeaveWithoutEnterThrowsIMSE() {
        Monitor monitor = new Monitor();
        assertThrows(IllegalMonitorStateException.class, monitor::leave);
      }
    
      public void testGetWaitQueueLengthWithWrongMonitorThrowsIMSE() {
        Monitor monitor1 = new Monitor();
        Monitor monitor2 = new Monitor();
        FlagGuard guard = new FlagGuard(monitor2);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 5K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java

      public void testLeaveWithoutEnterThrowsIMSE() {
        Monitor monitor = new Monitor();
        assertThrows(IllegalMonitorStateException.class, monitor::leave);
      }
    
      public void testGetWaitQueueLengthWithWrongMonitorThrowsIMSE() {
        Monitor monitor1 = new Monitor();
        Monitor monitor2 = new Monitor();
        FlagGuard guard = new FlagGuard(monitor2);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 5K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

        future.setException(new Exception());
        listener.assertRun();
      }
    
      public void testListenLaterCancelled() {
        CountingRunnable listener = new CountingRunnable();
    
        future.addListener(listener, directExecutor());
        listener.assertNotRun();
    
        future.cancel(false);
        listener.assertRun();
      }
    
      public void testListenLaterInterrupted() {
        CountingRunnable listener = new CountingRunnable();
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 16.3K bytes
    - Click Count (0)
  7. android/guava-testlib/test/com/google/common/collect/testing/SafeTreeSetTest.java

      public static Test suite() {
        TestSuite suite = new TestSuite();
        suite.addTestSuite(SafeTreeSetTest.class);
        suite.addTest(
            NavigableSetTestSuiteBuilder.using(
                    new TestStringSetGenerator() {
                      @Override
                      protected Set<String> create(String[] elements) {
                        return new SafeTreeSet<>(asList(elements));
                      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java

            smb.setBytes(bytes);
    
            byte[] buffer = new byte[1024];
            int length = smb.encode(buffer, 0);
    
            // Create a new SMB to decode into
            TestServerMessageBlock decodedSmb = new TestServerMessageBlock();
            decodedSmb.setParamWords(new byte[params.length]);
            decodedSmb.setBytes(new byte[bytes.length]);
            decodedSmb.decode(buffer, 0);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/core/beans/util/CopyOptionsTest.java

            assertThat(new CopyOptions().converter(new DateConverter("yyyyMMdd")).convertValue(new Timestamp(0), "aaa", String.class),
                    is((Object) "19700101"));
        }
    
        /**
         * @throws Exception
         */
        @Test(expected = ConverterRuntimeException.class)
        public void testConvertValue_throwable() throws Exception {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Fri Jun 20 13:40:57 GMT 2025
    - 12K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java

        public void test_isAvailable() {
            // Test default implementation
            generator = new TestThumbnailGenerator();
            assertTrue(generator.isAvailable());
        }
    
        @Test
        public void test_isTarget() {
            // Test isTarget method
            generator = new TestThumbnailGenerator();
            Map<String, Object> docMap = new HashMap<>();
    
            // Note: isTarget requires FessConfig which needs container
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Feb 04 14:24:39 GMT 2026
    - 17.1K bytes
    - Click Count (0)
Back to Top