Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 391 for occupy (0.05 seconds)

  1. src/main/java/jcifs/smb1/smb1/NtlmContext.java

         * @param token the input token bytes
         * @param offset offset into the token array
         * @param len length of token data
         * @return the output token bytes
         * @throws SmbException if an error occurs during context initialization
         */
        public byte[] initSecContext(byte[] token, final int offset, final int len) throws SmbException {
            switch (state) {
            case 1:
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/SmbTransportInternalTest.java

        }
    
        // Invalid input: simulate underlying SmbException when capability check fails
        @Test
        @DisplayName("hasCapability throws SmbException when underlying error occurs")
        void hasCapability_throws() throws SmbException {
            doThrow(new SmbException("capability check failed")).when(transport).hasCapability(eq(42));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/RequestParamTest.java

            for (RequestParam rp : RequestParam.values()) {
                assertSame(rp, Enum.valueOf(RequestParam.class, rp.name()));
            }
        }
    
        // Interaction: Demonstrate no external interactions occur (no collaborators to call)
        // We use Mockito in a minimal, meaningful way: pass the enum to a mocked consumer and verify interaction.
        interface EnumConsumer {
            void accept(RequestParam rp);
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

            executor.shutdown();
    
            // Then - All operations should succeed
            assertTrue(exceptions.isEmpty(), "No exceptions should occur");
            assertEquals(threadCount * opsPerThread, successCount.get(), "All operations should succeed");
        }
    
        /**
         * Test that buffer cache handles allocation when cache is full.
         */
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  5. src/main/java/jcifs/ntlmssp/Type1Message.java

         *
         * @param material
         *            The raw Type-1 material used to construct this message.
         * @throws IOException
         *             If an error occurs while parsing the material.
         */
        public Type1Message(final byte[] material) throws IOException {
            parse(material);
        }
    
        /**
         * Returns the default flags for a generic Type-1 message in the
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  6. docs/en/docs/how-to/custom-request-and-route.md

    All we need to do is handle the request inside a `try`/`except` block:
    
    {* ../../docs_src/custom_request_and_route/tutorial002_an_py310.py hl[14,16] *}
    
    If an exception occurs, the`Request` instance will still be in scope, so we can read and make use of the request body when handling the error:
    
    {* ../../docs_src/custom_request_and_route/tutorial002_an_py310.py hl[17:19] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  7. src/test/java/jcifs/SmbWatchHandleTest.java

            ExecutorService executor = Executors.newSingleThreadExecutor();
            try {
                Future<List<FileNotifyInformation>> future = executor.submit(() -> blockingHandle.watch());
    
                // Verify timeout occurs
                assertThrows(TimeoutException.class, () -> {
                    future.get(100, TimeUnit.MILLISECONDS);
                });
    
                // Cancel the future
                future.cancel(true);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.2K bytes
    - Click Count (1)
  8. src/main/java/org/codelibs/fess/app/service/FailureUrlService.java

    import org.dbflute.cbean.result.PagingResultBean;
    import org.dbflute.optional.OptionalEntity;
    
    import jakarta.annotation.Resource;
    
    /**
     * Service class for managing failure URLs that occur during web crawling.
     * Provides functionality to store, retrieve, and manage failed crawling attempts
     * with their associated error information.
     */
    public class FailureUrlService {
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/base/Splitter.java

              offset = -1;
            } else {
              end = separatorPosition;
              offset = separatorEnd(separatorPosition);
            }
            if (offset == nextStart) {
              /*
               * This occurs when some pattern has an empty match, even if it doesn't match the empty
               * string -- for example, if it requires lookahead or the like. The offset must be
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 23.8K bytes
    - Click Count (0)
  10. src/main/java/jcifs/context/SingletonContext.java

         * required to use SMB URLs with the <code>java.net.URL</code> class. If this
         * method is not called before attempting to create an SMB URL with the
         * URL class the following exception will occur:
         * <blockquote>
         *
         * <pre>
         * Exception MalformedURLException: unknown protocol: smb
         *     at java.net.URL.&lt;init&gt;(URL.java:480)
         *     at java.net.URL.&lt;init&gt;(URL.java:376)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.3K bytes
    - Click Count (0)
Back to Top