Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1041 - 1050 of 3,030 for thrown (0.04 sec)

  1. src/main/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponse.java

            return 0;
        }
    
        @Override
        protected int readDataWireFormat(final byte[] buffer, final int bufferIndex, final int len) throws SMBProtocolDecodingException {
            if (len > this.outputBuffer.length) {
                throw new SMBProtocolDecodingException("Payload exceeds buffer size");
            }
            System.arraycopy(buffer, bufferIndex, this.outputBuffer, 0, len);
            return len;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/DcerpcBinding.java

        int major;
        int minor;
    
        DcerpcBinding(final String proto, final String server) {
            this.proto = proto;
            this.server = server;
        }
    
        void setOption(final String key, final Object val) throws DcerpcException {
            if (key.equals("endpoint")) {
                endpoint = val.toString();
                final String lep = endpoint.toLowerCase();
                if (lep.startsWith("\\pipe\\")) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/MetadataBridge.java

        private boolean merged;
    
        public MetadataBridge(ArtifactMetadata metadata) {
            this.metadata = metadata;
        }
    
        @Override
        public void merge(File current, File result) throws RepositoryException {
            try {
                if (current.exists()) {
                    Files.createDirectories(result.toPath().getParent());
                    Files.copy(current.toPath(), result.toPath());
                }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/TrailersSource.kt

     * [IOException].
     *
     * Most callers won't need this interface, and should use [Response.trailers] instead.
     *
     * This interface is for test and production code that creates [Response] instances without making
     * an HTTP call to a remote server.
     */
    interface TrailersSource {
      @Throws(IOException::class)
      fun peek(): Headers? = null
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 18:57:05 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

         *
         * @param sessionId the session ID for the crawling information
         * @param create if true, creates a new crawling info regardless of existing records
         * @throws FessSystemException if unable to store the crawling session
         */
        public synchronized void store(final String sessionId, final boolean create) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/entity/QueryContextTest.java

    import org.opensearch.search.sort.SortBuilders;
    
    public class QueryContextTest extends UnitFessTestCase {
    
        private QueryContext queryContext;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            // Set up FessConfig mock
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                private static final long serialVersionUID = 1L;
    
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. src/main/java/org/codelibs/fess/ldap/LdapManager.java

         *
         * @param result the list of search results
         * @param consumer the BiConsumer to process entry DN and role name
         * @throws NamingException if LDAP naming exception occurs
         */
        protected void processSearchRoles(final List<SearchResult> result, final BiConsumer<String, String> consumer) throws NamingException {
            processSearchRoles(result, entryDn -> {
                final String name = getSearchRoleName(entryDn);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 82K bytes
    - Viewed (0)
Back to top