Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 93 for Chaining (0.06 seconds)

  1. src/test/java/jcifs/internal/smb2/Smb2CancelRequestTest.java

            // When
            boolean allowChain = request.allowChain(nextRequest);
    
            // Then
            assertFalse(allowChain, "Cancel requests should not allow chaining");
        }
    
        @Test
        @DisplayName("Test split returns null")
        void testSplit() {
            // Given
            Smb2CancelRequest request = new Smb2CancelRequest(mockConfig, 1L, 0L);
    
            // When
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  2. android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

        } 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 Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

          boolean isPossibleChainingCall = interfaceType.isAssignableFrom(method.getReturnType());
          try {
            Object actualReturnValue = method.invoke(wrapper, passedArgs);
            // If we think this might be a 'chaining' call then we allow the return value to either
            // be the wrapper or the returnValue.
            if (!isPossibleChainingCall || wrapper != actualReturnValue) {
              assertEquals(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/builder/RequestDataBuilderTest.java

            assertEquals(2.5f, data.getWeight(), 0.001f);
        }
    
        public void test_fluentApiChaining() {
            // Test fluent API method chaining
            RequestData data =
                    RequestDataBuilder.newRequestData().method(Constants.GET_METHOD).url("https://example.com/page").weight(1.5f).build();
    
            assertEquals(Method.GET, data.getMethod());
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  5. futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java

     * Examples of frameworks include:
     *
     * <ul>
     *   <li><a href="https://dagger.dev/producers.html">Dagger Producers</a>
     * </ul>
     *
     * <p>The main purpose of {@link #addListener addListener} is to support this chaining. You will
     * rarely use it directly, in part because it does not provide direct access to the {@code Future}
     * result. (If you want such access, you may prefer {@link Futures#addCallback
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 8K bytes
    - Click Count (0)
  6. guava/src/com/google/common/util/concurrent/ListenableFuture.java

     * Examples of frameworks include:
     *
     * <ul>
     *   <li><a href="https://dagger.dev/producers.html">Dagger Producers</a>
     * </ul>
     *
     * <p>The main purpose of {@link #addListener addListener} is to support this chaining. You will
     * rarely use it directly, in part because it does not provide direct access to the {@code Future}
     * result. (If you want such access, you may prefer {@link Futures#addCallback
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 8K bytes
    - Click Count (0)
  7. 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: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  8. 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: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  9. guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

        } 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 Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  10. generics.go

    	CreateInterface[T]
    }
    
    type CreateInterface[T any] interface {
    	ExecInterface[T]
    	// chain methods available at start; Select/Omit keep CreateInterface to allow Create chaining
    	Scopes(scopes ...func(db *Statement)) ChainInterface[T]
    	Where(query interface{}, args ...interface{}) ChainInterface[T]
    	Not(query interface{}, args ...interface{}) ChainInterface[T]
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun Nov 02 14:09:18 GMT 2025
    - 25.9K bytes
    - Click Count (0)
Back to Top