Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 294 for retval (0.06 sec)

  1. src/main/java/jcifs/smb/MultiChannelManager.java

        // Private helper methods
    
        private int getMaxChannelsFromConfig(Configuration config) {
            // In a real implementation, this would read from configuration
            return 4; // Default to 4 channels
        }
    
        private LoadBalancingStrategy getLoadBalancingStrategyFromConfig(Configuration config) {
            // In a real implementation, this would read from configuration
            return LoadBalancingStrategy.ROUND_ROBIN;
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/rdma/tcp/TcpMemoryRegion.java

    import jcifs.internal.smb2.rdma.RdmaAccess;
    import jcifs.internal.smb2.rdma.RdmaMemoryRegion;
    
    /**
     * TCP memory region implementation.
     *
     * For TCP fallback, memory regions are just wrappers around
     * ByteBuffers since no real RDMA registration is needed.
     */
    public class TcpMemoryRegion extends RdmaMemoryRegion {
    
        private static final AtomicInteger keyGenerator = new AtomicInteger(1000);
    
        /**
         * Create new TCP memory region
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

          boolean removal = (maximumSize == UNSET_INT) ? false : (size() > maximumSize);
          if ((removalListener != null) && removal) {
            removalListener.onRemoval(
                RemovalNotification.create(
                    ignored.getKey(), ignored.getValue().getValue(), RemovalCause.SIZE));
          }
          statsCounter.recordEviction();
          return removal;
        }
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/normalization/DefaultModelNormalizer.java

             * the first occurrence. So when we're in lenient/compat mode, we have to deal with such broken POMs and mimic
             * the way 2.x works. When we're in strict mode, the removal of duplicates just saves other merging steps from
             * aftereffects and bogus error messages.
             */
            List<Dependency> dependencies = model.getDependencies();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/PathValidatorTest.java

            // Test forward slash normalization
            assertEquals("\\share\\folder", validator.validatePath("/share/folder"));
    
            // Test duplicate slash removal
            assertEquals("\\share\\folder", validator.validatePath("\\\\share\\\\folder"));
    
            // Test trailing slash removal
            assertEquals("\\share\\folder", validator.validatePath("\\share\\folder\\"));
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbSessionTest.java

        SmbTransport transport;
    
        // static helper that returns the mocked transport. The real class
        // performs several other operations, but for the purpose of the test
        // we intercept the factory call.
        private MockedStatic<SmbTransport> smbtStatic;
    
        @BeforeEach
        void setUp() throws Exception {
            // Create a real NtlmPasswordAuthentication instance
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

     *   <li>Setting {@code maven.consumer.pom.flatten=true} removes them during transformation</li>
     *   <li>Otherwise, an exception is thrown requiring one of the above options or manual mixin removal</li>
     * </ul>
     * <p>
     * <b>Dependency Filtering</b>: For non-POM projects with dependency management, the builder:
     * <ul>
     *   <li>Filters dependencies to include only those with transitive scopes (compile/runtime)</li>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Nov 27 07:40:26 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TextUtil.java

     * </ul>
     *
     * <p>The {@link TextNormalizeContext} class provides a fluent API to configure the text
     * normalization process, including setting initial buffer capacity, maximum term sizes,
     * duplicate term removal, and custom space characters.
     *
     * <p>Example usage:
     * <pre>{@code
     * Reader reader = new StringReader("Example text to normalize.");
     * String normalizedText = TextUtil.normalizeText(reader)
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 12K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/exception/SQLRuntimeException.java

            if (cause instanceof ClSQLException) {
                return ((ClSQLException) cause).getSql();
            }
            return "";
        }
    
        /**
         * Returns the real message.
         *
         * @param cause the underlying exception
         * @return the real message
         */
        protected static String getRealMessage(final SQLException cause) {
            final StringBuilder buf = new StringBuilder(256);
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

                doThrow(handleCloseException).when(mockSmbPipeHandleInternal).close();
    
                // Setup close to call real method
                doCallRealMethod().when(handle).close();
    
                // The finally block ensures pipe is closed even if handle close fails
                // Since the real method will propagate the exception from handle.close(),
                // we need to catch it to verify that pipe.close() was still called
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
Back to top