Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1591 - 1600 of 1,947 for threw (0.03 sec)

  1. android/guava/src/com/google/common/hash/Murmur3_128HashFunction.java

            case 2:
              k1 ^= (long) toUnsignedInt(bb.get(1)) << 8; // fall through
            case 1:
              k1 ^= (long) toUnsignedInt(bb.get(0));
              break;
            default:
              throw new AssertionError("Should never get here.");
          }
          h1 ^= mixK1(k1);
          h2 ^= mixK2(k2);
        }
    
        @Override
        protected HashCode makeHash() {
          h1 ^= length;
          h2 ^= length;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/MultisetRemoveTester.java

      public void testRemove_occurrences_unsupported_absent() {
        // notice: we don't care whether it succeeds, or fails with UOE
        try {
          assertEquals(
              "multiset.remove(absent, 2) didn't return 0 or throw an exception",
              0,
              getMultiset().remove(e3(), 2));
        } catch (UnsupportedOperationException ok) {
        }
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/SmbPipeHandleTest.java

             * @throws CIFSException if an error occurs during close.
             */
            @Test
            public void testClose() throws CIFSException {
                assertDoesNotThrow(() -> smbPipeHandle.close(), "close() should not throw an exception on a mock object.");
                // Verify that the close method was called
                Mockito.verify(smbPipeHandle).close();
            }
    
            /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java

            assertFalse(locator.overlaps(other));
    
            verify(locator, times(2)).overlaps(other);
            verifyNoMoreInteractions(locator);
        }
    
        // Error path: overlaps may throw a CIFSException per signature
        @Test
        @DisplayName("overlaps throws CIFSException when implementation fails")
        void overlapsThrowsCifsException() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java

        }
    
        @Test
        void testClose_SmbExceptionOnClose() throws IOException {
            // Test case: close() with non-zero retval from MsrpcSamrCloseHandle, should throw SmbException
            String server = "testServer";
            int access = 123;
            int errorRetval = 12345; // Simulate an error code
    
            // Setup for successful constructor
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/escape/Escaper.java

       * <ul>
       *   <li>{@link UnicodeEscaper} handles <a href="http://en.wikipedia.org/wiki/UTF-16">UTF-16</a>
       *       correctly, including surrogate character pairs. If the input is badly formed the escaper
       *       should throw {@link IllegalArgumentException}.
       *   <li>{@link CharEscaper} handles Java characters independently and does not verify the input
       *       for well formed characters. A {@code CharEscaper} should not be used in situations where
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/ProtoSession.java

                    return topDirectory;
                }
    
                @Override
                public Path getRootDirectory() {
                    if (rootDirectory == null) {
                        throw new IllegalStateException("root directory not set");
                    }
                    return rootDirectory;
                }
            }
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jul 03 14:18:26 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/UnsignedInts.java

        } catch (NumberFormatException e) {
          NumberFormatException decodeException =
              new NumberFormatException("Error parsing value: " + stringValue);
          decodeException.initCause(e);
          throw decodeException;
        }
      }
    
      /**
       * Returns the unsigned {@code int} value represented by the given decimal string.
       *
       * <p><b>Java 8+ users:</b> use {@link Integer#parseUnsignedInt(String)} instead.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Feb 09 16:22:33 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java

            // This would need to be implemented based on the actual SmbTransport constructor
            // For now, return null - this needs integration with the actual transport creation
            throw new UnsupportedOperationException("Transport creation needs integration with SmbTransportPool");
        }
    
        /**
         * Perform channel binding for a channel
         *
         * @param channel channel to bind
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 20K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java

                // For now, just return the file object
                return file;
            } catch (Exception e) {
                log.warn("Failed to create SmbFile for {}: {}", filePath, e.getMessage());
                throw new IOException("Failed to create SmbFile: " + e.getMessage(), e);
            }
        }
    
        /**
         * Get the CIFS context
         *
         * @return CIFS context
         */
        public CIFSContext getContext() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 12.3K bytes
    - Viewed (0)
Back to top