Search Options

Results per page
Sort
Preferred Languages
Advance

Results 511 - 520 of 4,346 for new3 (2.16 sec)

  1. src/test/java/jcifs/CIFSExceptionTest.java

        void testCIFSExceptionWithCause() {
            // Given
            String message = "CIFS operation failed";
            Exception cause = new RuntimeException("Root cause");
    
            // When
            CIFSException exception = new CIFSException(message, cause);
    
            // Then
            assertNotNull(exception);
            assertEquals(message, exception.getMessage());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

        StringBuilder builder2 = new StringBuilder();
        copied = CharStreams.copy(new StringReader(I18N), builder2);
        assertEquals(I18N, builder2.toString());
        assertEquals(I18N.length(), copied);
      }
    
      public void testCopy_toStringBuilder_fromReadable() throws IOException {
        StringBuilder builder = new StringBuilder();
        long copied = CharStreams.copy(wrapAsGenericReadable(new StringReader(ASCII)), builder);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/CharStreamsTest.java

        StringBuilder builder2 = new StringBuilder();
        copied = CharStreams.copy(new StringReader(I18N), builder2);
        assertEquals(I18N, builder2.toString());
        assertEquals(I18N.length(), copied);
      }
    
      public void testCopy_toStringBuilder_fromReadable() throws IOException {
        StringBuilder builder = new StringBuilder();
        long copied = CharStreams.copy(wrapAsGenericReadable(new StringReader(ASCII)), builder);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/rank/fusion/RankFusionSearcherTest.java

                Map<String, Object> doc = new HashMap<>();
                doc.put("title", "Test Document");
                documentList.add(doc);
    
                // Create empty aggregations instead of null
                Aggregations emptyAggregations = InternalAggregations.EMPTY;
                return new SearchResult(documentList, 1L, "eq", 100L, false, new FacetResponse(emptyAggregations));
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbSessionImpl.java

            this.transport = transport.acquire();
            this.trees = new CopyOnWriteArrayList<>();
            this.credentials = tf.getCredentials().unwrap(CredentialsInternal.class).clone();
    
            // Initialize multi-channel support
            this.channelManager = new ChannelManager(tf, this);
    
            // Initialize SMB3 feature managers
            this.leaseManager = new LeaseManager(tf);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/dict/synonym/SynonymCreator.java

            }
            dictionaryManager.addCreator(this);
        }
    
        /**
         * Creates a new {@link SynonymFile} instance.
         *
         * @param id        The unique identifier for the dictionary file.
         * @param path      The file path of the dictionary.
         * @param timestamp The last modified timestamp of the file.
         * @return A new {@link SynonymFile} associated with the dictionary manager.
         */
        @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/msrpc/LsaPolicyHandle.java

            this.handle = handle;
            if (server == null) {
                server = "\\\\";
            }
            final MsrpcLsarOpenPolicy2 rpc = new MsrpcLsarOpenPolicy2(server, access, this);
            handle.sendrecv(rpc);
            if (rpc.retval != 0) {
                throw new SmbException(rpc.retval, false);
            }
            this.opened = true;
        }
    
        @Override
        public synchronized void close() throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exception/ThemeExceptionTest.java

            // Test constructor with message and cause
            String message = "Theme configuration error";
            RuntimeException cause = new RuntimeException("Config file not found");
            ThemeException exception = new ThemeException(message, cause);
    
            assertNotNull(exception);
            assertEquals(message, exception.getMessage());
            assertEquals(cause, exception.getCause());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

        assertEquals(expected, new String(buf));
        assertFullyRead(reader);
    
        // read in chunks to fixed array
        reader = new CharSequenceReader(charSequence);
        buf = new char[5];
        StringBuilder builder = new StringBuilder();
        int read;
        while ((read = reader.read(buf, 0, buf.length)) != -1) {
          builder.append(buf, 0, read);
        }
        assertEquals(expected, builder.toString());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/ServerResponseValidator.java

        private static final int MAX_PATH_SIZE = 32767;
    
        // Statistics
        private final AtomicLong totalValidations = new AtomicLong(0);
        private final AtomicLong failedValidations = new AtomicLong(0);
        private final AtomicLong bufferOverflowsPrevented = new AtomicLong(0);
        private final AtomicLong integerOverflowsPrevented = new AtomicLong(0);
    
        /**
         * Validate SMB response buffer bounds
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
Back to top