Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 94 for acancel (0.04 sec)

  1. cmd/bucket-replication.go

    		},
    		HeaderSize: headerSize,
    	}
    	newCtx := ctx
    	if globalBucketMonitor.IsThrottled(bucket, tgt.ARN) && objInfo.Size < minLargeObjSize {
    		var cancel context.CancelFunc
    		newCtx, cancel = context.WithTimeout(ctx, throttleDeadline)
    		defer cancel()
    	}
    	r := bandwidth.NewMonitoredReader(newCtx, globalBucketMonitor, gr, opts)
    	if isMP {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 118K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/Smb2CancelRequestTest.java

        }
    
        @Test
        @DisplayName("Test isCancel returns true")
        void testIsCancel() {
            // Given
            Smb2CancelRequest request = new Smb2CancelRequest(mockConfig, 1L, 0L);
    
            // When
            boolean isCancel = request.isCancel();
    
            // Then
            assertTrue(isCancel, "Should identify itself as a cancel request");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java

                constructor.setAccessible(true);
                SmbComNtCancel cancel = constructor.newInstance(config, testMid);
    
                // Then
                assertNotNull(cancel);
                assertEquals(testMid, cancel.getMid());
                assertTrue(cancel.isCancel());
            }
        }
    
        @Nested
        @DisplayName("Method Behavior Tests")
        class MethodBehaviorTests {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/trans/nt/SmbComNtCancel.java

    import jcifs.internal.smb1.ServerMessageBlock;
    
    /**
     * SMB1 NT Cancel command implementation.
     * Provides functionality to cancel previously issued SMB1 NT transaction commands
     * that are in progress, allowing clients to abort long-running operations.
     *
     * @author mbechler
     */
    public class SmbComNtCancel extends ServerMessageBlock {
    
        /**
         * Constructs an NT cancel command.
         *
         * @param config the configuration
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/Smb2CancelRequest.java

    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Cancel request message.
     *
     * This command is used to cancel a previously sent command
     * that is still being processed by the server.
     *
     * @author mbechler
     */
    public class Smb2CancelRequest extends ServerMessageBlock2 implements CommonServerMessageBlockRequest {
    
        /**
         * Constructs a SMB2 cancel request
         *
         * @param config
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/transport/Request.java

         *
         * @param credits the number of credits to set
         */
        void setRequestCredits(int credits);
    
        /**
         * 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();
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  7. cmd/batch-handlers.go

    	}
    	return nil
    }
    
    // delete canceler from the map, cancel job if requested
    func (j *BatchJobPool) canceler(jobID string, cancel bool) error {
    	if j == nil {
    		return errInvalidArgument
    	}
    	j.jmu.Lock()
    	defer j.jmu.Unlock()
    	if canceler, ok := j.jobCancelers[jobID]; ok {
    		if cancel {
    			canceler()
    		}
    	}
    	if cancel {
    		delete(j.jobCancelers, jobID)
    	}
    	return nil
    }
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 63.5K bytes
    - Viewed (0)
  8. cmd/consolelogger.go

    			if ok {
    				if (lg.Entry != log.Entry{}) {
    					logs = append(logs, lg.Entry)
    				}
    			}
    		}
    	})
    	sys.RUnlock()
    
    	return
    }
    
    // Cancel - cancels the target
    func (sys *HTTPConsoleLoggerSys) Cancel() {
    }
    
    // Type - returns type of the target
    func (sys *HTTPConsoleLoggerSys) Type() types.TargetType {
    	return types.TargetConsole
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java

                assertSame(testRequest, result);
            }
    
            @Test
            @DisplayName("isCancel should always return false")
            void testIsCancel() {
                assertFalse(testRequest.isCancel());
            }
    
            @Test
            @DisplayName("getCreditCost should return 1 by default")
            void testGetCreditCost() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/DcerpcConstants.java

        /**
         * Last fragment flag - indicates last fragment of a multi-fragment message
         */
        int DCERPC_LAST_FRAG = 0x02; /* Last fragment */
        /**
         * Pending cancel flag - indicates cancel was pending at sender
         */
        int DCERPC_PENDING_CANCEL = 0x04; /* Cancel was pending at sender */
        /**
         * Reserved flag for future use
         */
        int DCERPC_RESERVED_1 = 0x08;
        /**
         * Supports concurrent multiplexing flag.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
Back to top