Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 1,035 for select (0.07 sec)

  1. cmd/data-scanner.go

    		_, err := cycleInfo.UnmarshalMsg(buf)
    		bugLogIf(ctx, err)
    	}
    
    	scannerTimer := time.NewTimer(scannerCycle.Load())
    	defer scannerTimer.Stop()
    	defer globalScannerMetrics.setCycle(nil)
    
    	for {
    		select {
    		case <-ctx.Done():
    			return
    		case <-scannerTimer.C:
    			// Reset the timer for next cycle.
    			// If scanner takes longer we start at once.
    			scannerTimer.Reset(scannerCycle.Load())
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  2. cmd/storage-rest-server.go

    		// Initiate ticker after body has been read.
    		ticker := time.NewTicker(time.Second * 10)
    		defer ticker.Stop()
    
    		for {
    			select {
    			case <-ticker.C:
    				// The done() might have been called
    				// concurrently, check for it before we
    				// write the filler byte.
    				select {
    				case err := <-doneCh:
    					if err != nil {
    						write([]byte{1})
    						write([]byte(err.Error()))
    					} else {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  3. internal/cachevalue/cache_test.go

    package cachevalue
    
    import (
    	"context"
    	"errors"
    	"testing"
    	"time"
    )
    
    func slowCaller(ctx context.Context) error {
    	sl := time.NewTimer(time.Second)
    	defer sl.Stop()
    
    	select {
    	case <-sl.C:
    	case <-ctx.Done():
    		return ctx.Err()
    	}
    
    	return nil
    }
    
    func TestCacheCtx(t *testing.T) {
    	cache := New[time.Time]()
    	t.Parallel()
    	cache.InitOnce(2*time.Second, Opts{},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 09 00:51:34 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. internal/store/batch.go

    		store:  config.Store,
    		quitCh: quitCh,
    	}
    	if batch.store != nil {
    		go func() {
    			commitTicker := time.NewTicker(config.CommitTimeout)
    			defer commitTicker.Stop()
    			for {
    				select {
    				case <-commitTicker.C:
    				case <-batch.quitCh:
    					return
    				}
    				batch.Lock()
    				err := batch.commit()
    				batch.Unlock()
    				if err != nil {
    					config.Log(context.Background(), err, "")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/util/AdHocPerformanceScenario.kt

            )
            text("testJavaVersion", "17", display = ParameterDisplay.PROMPT, allowEmpty = false, description = "The java version to run the performance tests, e.g. 8/11/17")
            select(
                "testJavaVendor",
                JvmVendor.openjdk.name,
                display = ParameterDisplay.PROMPT,
                description = "The java vendor to run the performance tests",
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 03 06:45:18 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/config/bsbhv/BsCrawlingInfoBhv.java

            return result;
        }
    
        // ===================================================================================
        //                                                                              Select
        //                                                                              ======
        public int selectCount(CBCall<CrawlingInfoCB> cbLambda) {
            return facadeSelectCount(createCB(cbLambda));
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/bsbhv/BsElevateWordToLabelBhv.java

            return result;
        }
    
        // ===================================================================================
        //                                                                              Select
        //                                                                              ======
        public int selectCount(CBCall<ElevateWordToLabelCB> cbLambda) {
            return facadeSelectCount(createCB(cbLambda));
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/config/bsbhv/BsJobLogBhv.java

            return result;
        }
    
        // ===================================================================================
        //                                                                              Select
        //                                                                              ======
        public int selectCount(CBCall<JobLogCB> cbLambda) {
            return facadeSelectCount(createCB(cbLambda));
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/bsbhv/BsRoleTypeBhv.java

            return result;
        }
    
        // ===================================================================================
        //                                                                              Select
        //                                                                              ======
        public int selectCount(CBCall<RoleTypeCB> cbLambda) {
            return facadeSelectCount(createCB(cbLambda));
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/bsbhv/BsThumbnailQueueBhv.java

            return result;
        }
    
        // ===================================================================================
        //                                                                              Select
        //                                                                              ======
        public int selectCount(CBCall<ThumbnailQueueCB> cbLambda) {
            return facadeSelectCount(createCB(cbLambda));
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.8K bytes
    - Viewed (0)
Back to top