Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 313 for ccancel (0.98 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. docs/smb3-features/03-multi-channel-design.md

                        handleChannelFailure(channel, e);
                    }
                }
                
                // Check error rate
                if (channel.getErrorRate() > 0.1) {
                    log.warn("High error rate on channel {}: {}", 
                        channel.getChannelId(), channel.getErrorRate());
                    // Consider removing channel
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

        // stop it.
        blockingCallable.waitForStart();
    
        // This time, cancel the future for the first task. The task remains running, only the future
        // is cancelled.
        future1.cancel(false);
    
        // Give the second task a chance to (incorrectly) start up while the first task is running.
        // (This is the assertion that fails.)
        assertThat(future2.isDone()).isFalse();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 20:58:01 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  8. cmd/iam-etcd-store.go

    					if !ok {
    						time.Sleep(1 * time.Second)
    						// Upon an error on watch channel
    						// re-init the watch channel.
    						goto outerLoop
    					}
    					if err := watchResp.Err(); err != nil {
    						iamLogIf(ctx, err)
    						// log and retry.
    						time.Sleep(1 * time.Second)
    						// Upon an error on watch channel
    						// re-init the watch channel.
    						goto outerLoop
    					}
    					for _, event := range watchResp.Events {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top