Search Options

Results per page
Sort
Preferred Languages
Advance

Results 851 - 860 of 2,976 for throwIt (0.04 sec)

  1. guava/src/com/google/common/graph/NetworkBuilder.java

        return this;
      }
    
      /**
       * Specifies the expected number of nodes in the network.
       *
       * @throws IllegalArgumentException if {@code expectedNodeCount} is negative
       */
      @CanIgnoreReturnValue
      public NetworkBuilder<N, E> expectedNodeCount(int expectedNodeCount) {
        this.expectedNodeCount = Optional.of(checkNonNegative(expectedNodeCount));
        return this;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

          throws IOException {
        testStreamingEncodes(encoding, decoded, encoded);
        testStreamingDecodes(encoding, encoded, decoded);
      }
    
      @GwtIncompatible // Writer
      private static void testStreamingEncodes(BaseEncoding encoding, String decoded, String encoded)
          throws IOException {
        StringWriter writer = new StringWriter();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

            void testToStringWithNullFileId() throws Exception {
                // Set oplockLevel but leave fileId as null
                Field oplockLevelField = Smb2OplockBreakNotification.class.getDeclaredField("oplockLevel");
                oplockLevelField.setAccessible(true);
                oplockLevelField.set(notification, (byte) 0x01);
    
                // The implementation calls Hexdump.toHexString which throws NPE on null
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

            try {
                rateLimiter.checkAttempt(username, ip);
                fail("Should throw SmbException for locked account");
            } catch (SmbException e) {
                assertTrue(e.getMessage().contains("locked out"), "Should indicate account lockout");
            }
        }
    
        @Test
        public void testIpRateLimit() throws Exception {
            String ip = "192.168.1.3";
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb/SmbClientTest.java

                }
                ThreadUtil.sleep(1000L);
            }
        }
    
        @Override
        protected void tearDown() throws Exception {
            if (sambaServer != null) {
                sambaServer.stop();
            }
            super.tearDown();
        }
    
        public void test_doGet() throws Exception {
            try (final ResponseData responseData = smbClient.doGet(baseUrl + "file1.txt")) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java

        return new URLClassLoader(ClassPathUtil.getClassPathUrls(), classLoader) {
          @Override
          public Class<?> loadClass(String name) throws ClassNotFoundException {
            if (blocklist.contains(name)) {
              throw new ClassNotFoundException("I'm sorry Dave, I'm afraid I can't do that.");
            }
            if (name.startsWith(concurrentPackage)) {
              Class<?> c = findLoadedClass(name);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/util/GsaConfigParserTest.java

        private static final Logger logger = LogManager.getLogger(GsaConfigParserTest.class);
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            ComponentUtil.register(new SystemHelper(), "systemHelper");
        }
    
        public void test_parse() throws IOException {
            GsaConfigParser parser = new GsaConfigParser();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

            // Any accessor that triggers canonicalizePath should throw
            assertThrows(RuntimeCIFSException.class, a::getURLPath);
            assertThrows(RuntimeCIFSException.class, a::getUNCPath);
        }
    
        @Test
        @DisplayName("Server, port, URL passthrough getters")
        void testServerPortUrl() throws Exception {
            // No context mocks needed for this test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/netbios/Lmhosts.java

        private long lastModified = 1L;
        private int alt;
    
        /**
         * This is really just for {@link jcifs.netbios.UniAddress}. It does
         * not throw an {@link java.net.UnknownHostException} because this
         * is queried frequently and exceptions would be rather costly to
         * throw on a regular basis here.
         *
         * @param host the hostname to resolve
         * @param tc the CIFS context
         * @return resolved name, null if not found
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java

    class Smb2TreeDisconnectRequestTest {
    
        private static final short SMB2_TREE_DISCONNECT = 0x0004;
    
        @Test
        @DisplayName("Should create request with correct command type")
        void testConstructorSetsCorrectCommand() throws Exception {
            // Given
            Configuration mockConfig = mock(Configuration.class);
    
            // When
            Smb2TreeDisconnectRequest req = new Smb2TreeDisconnectRequest(mockConfig);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
Back to top