Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 108 for chainG (0.12 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 Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/auth/AuthenticationManagerTest.java

            TestAuthenticationChain chain2 = new TestAuthenticationChain();
            TestAuthenticationChain chain3 = new TestAuthenticationChain();
    
            chain1.loadResult = user1;
            chain2.loadResult = user2;
            chain3.loadResult = user3;
    
            authenticationManager.addChain(chain1);
            authenticationManager.addChain(chain2);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14K bytes
    - Viewed (0)
  3. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  4. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  5. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  6. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  7. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/util/transport/Request.java

        /**
         * Checks if this is a cancel request.
         *
         * @return whether this is a cancel request
         */
        boolean isCancel();
    
        /**
         * Gets the next request in the chain.
         *
         * @return chained request
         */
        Request getNext();
    
        /**
         * Gets the response for this request.
         *
         * @return the response for this request
         */
        Response getResponse();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

            assertEquals(block.useUnicode, next.useUnicode, "useUnicode must be propagated");
            assertTrue(next.writeParamCalls > 0, "chained SMB parameter words should be written");
            assertTrue(next.writeBytesCalls > 0, "chained SMB bytes should be written");
        }
    
        @Test
        @DisplayName("decode basic AndX block with no chaining")
        void testDecodeBasicNoAndx() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbSessionImpl.java

                                negoResp.getCommonCapabilities(), curSessId, token);
    
                        if (chain != null) {
                            request.chain((ServerMessageBlock2) chain);
                        }
    
                        request.setDigest(this.digest);
                        request.setSessionId(curSessId);
    
                        try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
Back to top