Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 237 for chainG (0.03 sec)

  1. 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),
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sun Nov 02 14:09:18 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt

        val interceptor1 =
          Interceptor { chainA: Interceptor.Chain ->
            assertThat(chainA.connectTimeoutMillis()).isEqualTo(5000)
            val chainB = chainA.withConnectTimeout(100, TimeUnit.MILLISECONDS)
            assertThat(chainB.connectTimeoutMillis()).isEqualTo(100)
            chainB.proceed(chainA.request())
          }
        val interceptor2 =
          Interceptor { chain: Interceptor.Chain ->
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 16:11:23 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/auth/AuthenticationManager.java

            User u = user;
            for (final AuthenticationChain chain : chains) {
                u = chain.load(u);
            }
            return u;
        }
    
        /**
         * Adds an authentication chain to the manager.
         * @param chain The authentication chain to add.
         */
        public void addChain(final AuthenticationChain chain) {
            chains = ArrayUtils.addAll(chains, chain);
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/SmartProjectComparator.java

         */
        public Comparator<MavenProject> getComparator() {
            return comparator;
        }
    
        /**
         * Gets the calculated weight for a project, representing its dependency chain length.
         *
         * @param project the project
         * @return the project's weight (higher means longer dependency chain)
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Aug 06 12:03:40 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/query/QueryProcessor.java

            FilterChain chain = createDefaultFilterChain();
            for (final Filter element : filterList) {
                chain = appendFilterChain(element, chain);
            }
            filterChain = chain;
        }
    
        /**
         * Appends a filter to an existing filter chain.
         *
         * @param filter the filter to append
         * @param chain the existing filter chain to append to
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

            this.mid = mid;
        }
    
        /**
         * Chains another message to this message for compound operations.
         *
         * @param n the message to chain
         * @return whether chaining was successful
         */
        public boolean chain(final ServerMessageBlock2 n) {
            if (this.next != null) {
                return this.next.chain(n);
            }
    
            n.addFlags(SMB2_FLAGS_RELATED_OPERATIONS);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

            }
        }
    
        @Nested
        @DisplayName("Chain Tests")
        class ChainTests {
    
            @Test
            @DisplayName("Should chain messages successfully")
            void testChain() {
                TestServerMessageBlock2 nextMessage = new TestServerMessageBlock2(mockConfig);
                assertTrue(testMessage.chain(nextMessage));
                assertEquals(nextMessage, testMessage.getNext());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java

                if (arg instanceof Smb2CreateRequest) {
                    Smb2CreateRequest create = (Smb2CreateRequest) arg;
                    // Initialize response chain (also for chained query)
                    Smb2CreateResponse cr = create.initResponse(cifsContext);
    
                    // Access chained Smb2QueryDirectoryRequest via reflection
                    Smb2QueryDirectoryRequest q = (Smb2QueryDirectoryRequest) getNextOf(create);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/CommonServerMessageBlockRequest.java

         * @return create cancel request
         */
        CommonServerMessageBlockRequest createCancel();
    
        /**
         * Checks if chaining is allowed with the next request.
         *
         * @param next the next request in the chain
         * @return whether to allow chaining
         */
        boolean allowChain(CommonServerMessageBlockRequest next);
    
        /**
         * Sets the tree ID.
         *
         * @param t the tree ID to set
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/transport/Response.java

        /**
         * Sets an exception for this response.
         *
         * @param e the exception to set
         */
        void exception(Exception e);
    
        /**
         * Gets the next response in the chain.
         *
         * @return chained response
         */
        Response getNextResponse();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
Back to top