Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 226 for chaining (0.07 seconds)

  1. android/guava/src/com/google/common/net/HostAndPort.java

       * perform actual validation of IP addresses, see the {@link InetAddresses#forString(String)}
       * method.
       *
       * @return {@code this}, to enable chaining of calls.
       * @throws IllegalArgumentException if bracketless IPv6 is detected.
       */
      @CanIgnoreReturnValue
      public HostAndPort requireBracketsForIPv6() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 11.1K bytes
    - Click Count (0)
  2. guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

              .testForwarding(Equals.class, NoDelegateToEquals::new);
        } catch (AssertionFailedError expected) {
          return;
        }
        fail("Should have failed");
      }
    
      /** An interface for the 2 ways that a chaining call might be defined. */
      private interface ChainingCalls {
        // A method that is defined to 'return this'
        @CanIgnoreReturnValue
        ChainingCalls chainingCall();
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 12.9K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/beans/util/CopyOptionsUtil.java

     *
     * copyBeanToBean(srcBean, destBean, excludeNull());
     * </pre>
     * <p>
     * The return value of {@literal CopyOptionsUtil} is {@link CopyOptions},
     * so you can specify multiple options using method chaining.
     * </p>
     *
     * <pre>
     * copyBeanToBean(srcBean, destBean, excludeNull().dateConverter("date", "MM/dd"));
     * </pre>
     *
     * @author koichik
     */
    public abstract class CopyOptionsUtil {
    
        /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/dict/DictionaryFile.java

        }
    
        /**
         * Sets the dictionary manager for this file and returns this instance.
         *
         * @param dictionaryManager the dictionary manager to set
         * @return this dictionary file instance for method chaining
         */
        public DictionaryFile<T> manager(final DictionaryManager dictionaryManager) {
            this.dictionaryManager = dictionaryManager;
            return this;
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  5. generics.go

    	return c.g.apply(ctx).CreateInBatches(r, batchSize).Error
    }
    
    type chainG[T any] struct {
    	execG[T]
    }
    
    func (c chainG[T]) getInstance() *DB {
    	var r T
    	return c.g.apply(context.Background()).Model(r).getInstance()
    }
    
    func (c chainG[T]) with(v op) chainG[T] {
    	return chainG[T]{
    		execG: execG[T]{g: &g[T]{
    			db:  c.g.db,
    			ops: append(append([]op(nil), c.g.ops...), v),
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:34:24 GMT 2026
    - 26K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

                assertNotNull(resp);
                assertSame(mockConfig, resp.getConfig());
            }
        }
    
        @Nested
        @DisplayName("Response Chaining Tests")
        class ResponseChainingTests {
    
            @Test
            @DisplayName("Should return next response")
            void testGetNextResponse() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

    import jcifs.internal.util.SMBUtil;
    import jcifs.util.Hexdump;
    
    /**
     * Base class for SMB1 AndX (chained) command messages.
     * This class extends ServerMessageBlock to support SMB1 command chaining, where multiple
     * related commands can be batched together in a single message for improved efficiency.
     */
    public abstract class AndXServerMessageBlock extends ServerMessageBlock {
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/suggest/concurrent/DeferredTest.java

            assertEquals("Error callback should be called", 1, callbackCount.get());
        }
    
        // ============================================================
        // Edge case tests for promise chaining
        // ============================================================
    
        @Test
        public void test_promiseChaining_returnsSamePromise() throws Exception {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 21.1K bytes
    - Click Count (0)
  9. src/test/java/jcifs/config/DelegatingConfigurationTest.java

                configWithBaseDelegate.isUseUnicode();
                configWithBaseDelegate.getOemEncoding();
            }, "Should work with BaseConfiguration delegate");
    
            // Test chaining delegates
            DelegatingConfiguration chainedConfig = new DelegatingConfiguration(configWithBaseDelegate);
            assertDoesNotThrow(() -> {
                chainedConfig.getResponseTimeout();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.7K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/job/CrawlJobTest.java

                fail("Should throw JobProcessingException");
            } catch (JobProcessingException e) {
                assertEquals("Specific job error", e.getMessage());
            }
        }
    
        // Test method chaining
        @Test
        public void test_methodChaining() {
            CrawlJob result = crawlJob.namespace("test")
                    .documentExpires(10)
                    .webConfigIds(new String[] { "web1" })
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 25K bytes
    - Click Count (0)
Back to Top