- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 236 for dcancel (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
cmd/xl-storage-disk-id-check.go
p.health.waiting.Add(1) go p.monitorDiskStatus(spent, fn) } } // Offset checks a bit. time.Sleep(time.Duration(rng.Int63n(int64(1 * time.Second)))) dctx, dcancel := context.WithCancel(ctx) started := time.Now() go func() { timeout := time.NewTimer(globalDriveConfig.GetMaxTimeout()) select { case <-dctx.Done(): if !timeout.Stop() {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Apr 25 05:41:04 GMT 2025 - 34.5K bytes - Click Count (0) -
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"); } @TestCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.8K bytes - Click Count (0) -
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 {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.8K bytes - Click Count (0) -
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 configurationCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.6K bytes - Click Count (0) -
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 configCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.5K bytes - Click Count (0) -
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(); /**Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.7K bytes - Click Count (0) -
src/main/java/org/codelibs/core/timer/TimeoutTask.java
* * @return whether the task has been canceled */ public boolean isCanceled() { return status == CANCELED; } /** * Cancels the task. */ public void cancel() { status = CANCELED; } /** * Returns whether the task is stopped. * * @return whether the task is stopped */ public boolean isStopped() {Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 2.7K bytes - Click Count (0) -
internal/logger/target/kafka/kafka.go
if err != nil { atomic.AddInt64(&h.failedMessages, 1) return err } // Delete the event from store. return h.store.Del(key) } // Cancel - cancels the target func (h *Target) Cancel() { // If queuestore is configured, cancel it's context to // stop the replay go-routine. if h.store != nil { h.storeCtxCancel() } // Set logch to nil and close it.Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 10.2K bytes - Click Count (0) -
internal/logger/target/http/http.go
h.failedMessages.Add(1) return errors.New("log buffer full") } return nil } // Cancel - cancels the target. // All queued messages are flushed and the function returns afterwards. // All messages sent to the target after this function has been called will be dropped. func (h *Target) Cancel() { h.status.Store(statusClosed) h.storeCtxCancel() // Wait for messages to be sent... h.wg.Wait()
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 15.6K bytes - Click Count (0) -
cmd/consolelogger.go
if ok { if (lg.Entry != log.Entry{}) { logs = append(logs, lg.Entry) } } } }) sys.RUnlock() return logs } // Cancel - cancels the target func (sys *HTTPConsoleLoggerSys) Cancel() { } // Type - returns type of the target func (sys *HTTPConsoleLoggerSys) Type() types.TargetType { return types.TargetConsole }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 5.4K bytes - Click Count (0)