Search Options

Results per page
Sort
Preferred Languages
Advance

Results 911 - 920 of 2,976 for throwIt (0.05 sec)

  1. src/test/java/jcifs/smb/SIDCacheImplTest.java

            assertDoesNotThrow(() -> cache.resolveSids(handle, policy, sids));
        }
    
        @Test
        @DisplayName("resolveSids(DcerpcHandle,...) throws SmbException on unexpected retval")
        void resolveSids_throwsOnUnexpectedRetval() throws Exception {
            SIDCacheImpl cache = new SIDCacheImpl(mock(CIFSContext.class));
            DcerpcHandle handle = mock(DcerpcHandle.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/HMACT64.java

        private HMACT64(final HMACT64 hmac) throws CloneNotSupportedException {
            super("HMACT64");
            this.ipad = hmac.ipad;
            this.opad = hmac.opad;
            this.md5 = (MessageDigest) hmac.md5.clone();
        }
    
        @Override
        public Object clone() {
            try {
                return new HMACT64(this);
            } catch (final CloneNotSupportedException ex) {
                throw new IllegalStateException(ex.getMessage());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

         * then the behavior depends on the {@code ProjectManager} implementation.
         * It may do nothing or thrown {@linkplain IllegalArgumentException}.
         *
         * @param project the project to update
         * @param source the source to add
         * @throws IllegalArgumentException if this project manager rejects the given source because of conflict
         *
         * @see #getSourceRoots(Project)
         */
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jan 30 23:29:13 UTC 2025
    - 12K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/netbios/SessionRetargetResponsePacket.java

            return 0;
        }
    
        @Override
        int readTrailerWireFormat(final InputStream in, final byte[] buffer, int bufferIndex) throws IOException {
            if (in.read(buffer, bufferIndex, length) != length) {
                throw new IOException("unexpected EOF reading netbios retarget session response");
            }
            final int addr = readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/persistent/DurableHandleResponse.java

        }
    
        @Override
        public byte[] getName() {
            return CONTEXT_NAME_BYTES;
        }
    
        @Override
        public int decode(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException {
            if (len != 8) {
                throw new SMBProtocolDecodingException("Invalid durable handle response length: " + len);
            }
    
            // Read reserved field (should be all zeros but we don't validate)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolver.java

        @Override
        public MetadataGraph resolveConflicts(MetadataGraph graph, ArtifactScopeEnum scope)
                throws GraphConflictResolutionException {
            if (policy == null) {
                throw new GraphConflictResolutionException("no GraphConflictResolutionPolicy injected");
            }
    
            if (graph == null) {
                return null;
            }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/ds/AbstractDataStoreTest.java

    import groovy.lang.GroovyClassLoader;
    import groovy.lang.GroovyShell;
    
    public class AbstractDataStoreTest extends UnitFessTestCase {
        public AbstractDataStore dataStore;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            dataStore = new AbstractDataStore() {
                @Override
                protected String getName() {
                    return "Test";
                }
    
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 4.1K bytes
    - Viewed (1)
  8. src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextResponse.java

         */
        public int getEpoch() {
            return epoch;
        }
    
        @Override
        public int decode(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException {
            int start = bufferIndex;
    
            if (len < 52) {
                throw new SMBProtocolDecodingException("Lease V2 context data too short: " + len);
            }
    
            // Read lease V2 data (52 bytes)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/job/UpdateLabelJobTest.java

    import org.opensearch.script.Script;
    import org.opensearch.script.ScriptType;
    
    public class UpdateLabelJobTest extends UnitFessTestCase {
    
        private UpdateLabelJob updateLabelJob;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            updateLabelJob = new UpdateLabelJob();
    
            // Setup mock components
            setupMockComponents();
        }
    
        private void setupMockComponents() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java

        assertEquals(
            "Exception while executing callback: MyListener custom-label",
            logHandler.getStoredLogRecords().get(0).getMessage());
      }
    
      public void testEnqueueAndDispatch_multithreaded() throws InterruptedException {
        Object listener = new Object();
        ExecutorService service = newFixedThreadPool(4);
        ListenerCallQueue<Object> queue = new ListenerCallQueue<>();
        try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 8.2K bytes
    - Viewed (0)
Back to top