Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2911 - 2920 of 3,124 for haven (0.03 sec)

  1. src/test/java/jcifs/netbios/SessionServicePacketTest.java

            packet.readHeaderWireFormat(bais, buffer, 0);
    
            assertEquals(0x1FFFF, packet.length);
        }
    
        // Test for constants
        @Test
        @DisplayName("Constants should have expected values")
        void testConstants() {
            assertEquals(0x00, SessionServicePacket.SESSION_MESSAGE);
            assertEquals(0x81, SessionServicePacket.SESSION_REQUEST);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/AbstractTransformerTest.java

            transformer2.setName("transformer2");
    
            assertEquals("transformer1", transformer1.getName());
            assertEquals("transformer2", transformer2.getName());
    
            // Both should have independent name storage
            transformer1.setName("changed1");
            assertEquals("changed1", transformer1.getName());
            assertEquals("transformer2", transformer2.getName());
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java

        }
    
        /**
         * Test exception in method that declares throws
         */
        public void test_exceptionInMethod() {
            try {
                methodThatThrowsException();
                fail("Should have thrown CrawlerSystemException");
            } catch (CrawlerSystemException e) {
                assertEquals("Method exception", e.getMessage());
            }
        }
    
        private void methodThatThrowsException() {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 20K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

            testThread.start();
    
            long startTime = System.currentTimeMillis();
            method.invoke(crawler, testThread);
            long endTime = System.currentTimeMillis();
    
            assertTrue("Thread should have been joined", endTime - startTime >= 100);
        }
    
        // Test destroyContainer private static method via reflection
        public void test_destroyContainer() throws Exception {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/CharsTest.java

        assertThat(Chars.saturatedCast(Long.MIN_VALUE)).isEqualTo(LEAST);
      }
    
      private void assertCastFails(long value) {
        try {
          Chars.checkedCast(value);
          fail("Cast to char should have failed: " + value);
        } catch (IllegalArgumentException ex) {
          assertWithMessage(value + " not found in exception text: " + ex.getMessage())
              .that(ex.getMessage().contains(String.valueOf(value)))
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        }
      }
    
      /**
       * This neat test shows that no matter what weights we use in our requests, if we push X amount of
       * permits in a cool state, where X = rate * timeToCoolDown, and we have specified a
       * timeToWarmUp() period, it will cost as the prescribed amount of time. E.g., calling
       * [acquire(5), acquire(1)] takes exactly the same time as [acquire(2), acquire(3), acquire(1)].
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        }
      }
    
      /**
       * This neat test shows that no matter what weights we use in our requests, if we push X amount of
       * permits in a cool state, where X = rate * timeToCoolDown, and we have specified a
       * timeToWarmUp() period, it will cost as the prescribed amount of time. E.g., calling
       * [acquire(5), acquire(1)] takes exactly the same time as [acquire(2), acquire(3), acquire(1)].
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

            }
        }
    
        @Nested
        @DisplayName("SMB Command Constant Tests")
        class SMBCommandConstantTests {
    
            @Test
            @DisplayName("Test SMB command constants have correct values")
            void testSMBCommandConstants() {
                assertEquals((byte) 0x00, ServerMessageBlock.SMB_COM_CREATE_DIRECTORY);
                assertEquals((byte) 0x01, ServerMessageBlock.SMB_COM_DELETE_DIRECTORY);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  9. tensorflow/c/c_api_experimental.cc

      }
    
      const tensorflow::OpDef_ArgDef& input_arg = op_def->input_arg()[input_index];
    
      if (input_arg.number_attr().empty()) {
        status->status = tensorflow::errors::NotFound(
            op_name, " does not have number_attr() defined.");
        return nullptr;
      }
    
      // The returned string is owned by OpRegistry, so liveness is not a concern.
      return input_arg.number_attr().c_str();
    }
    
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Aug 18 03:53:25 UTC 2025
    - 29.5K bytes
    - Viewed (0)
  10. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

      }
    
      public override fun close() {
        if (closed) return
        closed = true
    
        if (!started) return // Nothing to shut down.
        val serverSocket = this.serverSocket ?: return // If this is null, start() must have failed.
    
        // Cause acceptConnections() to break out.
        serverSocket.closeQuietly()
    
        // Await shutdown.
        for (queue in taskRunner.activeQueues()) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 20:36:00 UTC 2025
    - 40.3K bytes
    - Viewed (0)
Back to top