Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 382 for canceler (0.19 sec)

  1. cmd/background-newdisks-heal-ops.go

    					if err := healFreshDisk(ctx, z, disk); err != nil {
    						globalBackgroundHealState.setDiskHealingStatus(disk, false)
    						timedout := OperationTimedOut{}
    						if !errors.Is(err, context.Canceled) && !errors.As(err, &timedout) && !errors.Is(err, errRetryHealing) {
    							printEndpointError(disk, err, false)
    						}
    						return
    					}
    					// Only upon success pop the healed disk.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/UrlComponentEncodingTester.kt

          encodings[ 0x15] = encoding // Negative Acknowledgment
          encodings[ 0x16] = encoding // Synchronous idle
          encodings[ 0x17] = encoding // End of Transmission Block
          encodings[ 0x18] = encoding // Cancel
          encodings[ 0x19] = encoding // End of Medium
          encodings[ 0x1a] = encoding // Substitute
          encodings[ 0x1b] = encoding // Escape
          encodings[ 0x1c] = encoding // File Separator
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java

            } finally {
                if (accessTimeoutTarget != null) {
                    accessTimeoutTarget.stop();
                    if (!accessTimeoutTask.isCanceled()) {
                        accessTimeoutTask.cancel();
                    }
                }
            }
        }
    
        protected String[] parsePath(final String path) {
            if (StringUtil.isNotEmpty(path)) {
                final String[] values = path.split("/", 2);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/QueuesTest.java

          assertThat(timer.elapsed(MILLISECONDS)).isAtLeast(10L);
    
          // If even the first one wasn't there, clean up so that the next test doesn't see an element.
          producerThread.cancel(true);
          producer.doneProducing.await();
          if (drained == 0) {
            q.poll(); // not necessarily there if producer was interrupted
          }
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/job/CrawlJob.java

                throw new JobProcessingException("Failed to execute a crawl job.", e);
            } finally {
                if (timeoutTask != null && !timeoutTask.isCanceled()) {
                    timeoutTask.cancel();
                }
            }
    
            return resultBuf.toString();
    
        }
    
        protected int getRunningJobCount() {
            final AtomicInteger counter = new AtomicInteger(0);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Jun 23 04:13:47 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  6. cmd/admin-handlers-pools.go

    	if objectAPI == nil {
    		return
    	}
    
    	pools, ok := objectAPI.(*erasureServerPools)
    	if !ok {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrNotImplemented), r.URL)
    		return
    	}
    
    	// Cancel any ongoing rebalance operation
    	globalNotificationSys.StopRebalance(r.Context())
    	writeSuccessResponseHeadersOnly(w)
    	adminLogIf(ctx, pools.saveRebalanceStats(GlobalContext, 0, rebalSaveStoppedAt))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 28 00:22:30 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

                if (accessTimeoutTarget != null) {
                    accessTimeoutTarget.stop();
                    if (accessTimeoutTask != null && !accessTimeoutTask.isCanceled()) {
                        accessTimeoutTask.cancel();
                    }
                }
            }
        }
    
        protected ResponseData getResponseData(final String uri, final boolean includeContent) {
            final ResponseData responseData = new ResponseData();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  8. tests/transaction_test.go

    	err := DB.WithContext(ctx).Transaction(func(tx *gorm.DB) error {
    		var result User
    		tx.First(&result, user.ID)
    		return nil
    	})
    
    	if err == nil {
    		t.Fatalf("Transaction should get error when using cancelled context")
    	}
    }
    
    func TestTransactionWithBlock(t *testing.T) {
    	assertPanic := func(f func()) {
    		defer func() {
    			if r := recover(); r == nil {
    				t.Fatalf("The code did not panic")
    			}
    		}()
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Sep 14 12:58:29 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  9. cni/pkg/nodeagent/ztunnelserver.go

    // nolint: unparam
    func (z *ztunnelServer) handleConn(ctx context.Context, conn *ZtunnelConnection) error {
    	defer conn.Close()
    
    	context.AfterFunc(ctx, func() {
    		log.Debug("context cancelled, closing ztunnel server")
    		conn.Close()
    	})
    
    	// before doing anything, add the connection to the list of active connections
    	z.conns.addConn(conn)
    	defer z.conns.deleteConn(conn)
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Jul 29 16:08:35 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  10. cmd/xl-storage.go

    		immediatePurgeQueue = 1
    	}
    
    	ctx, cancel := context.WithCancel(GlobalContext)
    
    	s = &xlStorage{
    		drivePath:            ep.Path,
    		endpoint:             ep,
    		globalSync:           globalFSOSync,
    		diskInfoCache:        cachevalue.New[DiskInfo](),
    		immediatePurge:       make(chan string, immediatePurgeQueue),
    		immediatePurgeCancel: cancel,
    	}
    
    	defer func() {
    		if cleanUp && err == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
Back to top