Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 551 - 560 of 6,076 for newE (0.04 seconds)

  1. android/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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/exception/SsoProcessExceptionTest.java

            IllegalStateException innerException = new IllegalStateException("Invalid state");
            OutOfMemoryError middleError = new OutOfMemoryError("Memory exhausted");
            // Note: OutOfMemoryError constructor doesn't accept cause, so we create a wrapper
            RuntimeException outerException = new RuntimeException("Wrapper", middleError);
            SsoProcessException exception = new SsoProcessException(message, outerException);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  3. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

                    new SessionRequestPacket(mockConfig, new TestNetbiosName("SERVER", 0x20, null), new TestNetbiosName("CLIENT", 0x00, null));
    
            byte[] buffer = new byte[256];
            int written = writePacket.writeTrailerWireFormat(buffer, 0);
    
            ByteArrayInputStream bais = new ByteArrayInputStream(buffer, 0, written);
            SessionRequestPacket readPacket = new SessionRequestPacket(mockConfig);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java

            response = new Smb2QueryInfoResponse(mockConfig, infoType, infoClass);
    
            assertNotNull(response);
            assertNull(response.getInfo()); // Should be null before decoding
        }
    
        @Test
        @DisplayName("Test getInfo returns decoded information")
        void testGetInfo() throws Exception {
            response = new Smb2QueryInfoResponse(mockConfig, (byte) 1, (byte) 2);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 24.5K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java

      private final TearDownStack tearDownStack = new TearDownStack(true);
      private final CountDownLatch enterRun = new CountDownLatch(1);
      private final CountDownLatch exitRun = new CountDownLatch(1);
    
      private Thread executionThread;
      private Throwable thrownByExecutionThread;
      private final Executor exceptionCatchingExecutor =
          new Executor() {
            @Override
            public void execute(Runnable command) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/curl/io/IOIntegrationTest.java

            // ## Arrange ##
            final AtomicInteger onConnectReadTimeout = new AtomicInteger(-1);
            final TimeoutRecordingMockHttpURLConnection[] mockHolder = new TimeoutRecordingMockHttpURLConnection[1];
            CurlRequest req = new OpenOverrideCurlRequest(Curl.Method.GET, "http://dummy", u -> {
                TimeoutRecordingMockHttpURLConnection mock = new TimeoutRecordingMockHttpURLConnection(u);
                mockHolder[0] = mock;
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 12:00:34 GMT 2026
    - 44.1K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorConcurrencyTest.java

            final int searchersPerThread = 5;
            final CountDownLatch startLatch = new CountDownLatch(1);
            final CountDownLatch endLatch = new CountDownLatch(numThreads);
            final AtomicInteger registeredCount = new AtomicInteger(0);
    
            try (RankFusionProcessor processor = new RankFusionProcessor()) {
                processor.setSearcher(new TestSearcher(100));
                processor.init();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 13.5K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java

        for (double x : VALUES) {
          AtomicDouble a = new AtomicDouble(x);
          assertBitEquals(x, a.get());
        }
      }
    
      /** default constructed initializes to zero */
      public void testConstructor2() {
        AtomicDouble a = new AtomicDouble();
        assertBitEquals(0.0, a.get());
      }
    
      /** get returns the last value set */
      public void testGetSet() {
        AtomicDouble at = new AtomicDouble(1.0);
        assertBitEquals(1.0, at.get());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

      @AndroidIncompatible // problem with suite builders on Android
      public static Test suite() {
        TestSuite suite = new TestSuite();
        suite.addTestSuite(MutableTypeToInstanceMapTest.class);
    
        suite.addTest(
            MapTestSuiteBuilder.using(
                    new TestTypeToInstanceMapGenerator() {
                      // Other tests will verify what real, warning-free usage looks like
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/ShareEnumIteratorTest.java

            // First call throws, second accepts
            when(filter.accept(any())).thenThrow(new CIFSException("boom")).thenReturn(true);
    
            ShareEnumIterator it = new ShareEnumIterator(parent, entries.iterator(), filter);
    
            assertTrue(it.hasNext());
            SmbResource res = it.next();
            assertNotNull(res);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.1K bytes
    - Click Count (0)
Back to Top