Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 215 for isSelect (0.15 sec)

  1. cmd/license-update.go

    	ctx, cancel := globalLeaderLock.GetLock(ctx)
    	defer cancel()
    
    	licenseUpdateTimer := time.NewTimer(licUpdateCycle)
    	defer licenseUpdateTimer.Stop()
    
    	for {
    		select {
    		case <-ctx.Done():
    			return
    		case <-licenseUpdateTimer.C:
    
    			if globalSubnetConfig.Registered() {
    				performLicenseUpdate(ctx, objAPI)
    			}
    
    			// Reset the timer for next cycle.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/flatbuffer_translate.cc

        llvm::cl::location(emit_builtin_tflite_ops), llvm::cl::init(true));
    
    // NOLINTNEXTLINE
    static opt<bool, true> emit_select_tf_ops_flag(
        "emit-select-tf-ops",
        llvm::cl::desc(
            "Emit Select TF operations (Flex ops) in the generated TFLite model"),
        llvm::cl::location(emit_select_tf_ops), llvm::cl::init(false));
    
    // NOLINTNEXTLINE
    static opt<bool, true> emit_custom_ops_flag(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 14 19:15:40 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/under.go

    	if x, _ := x.(*Chan); x != nil {
    		if y, _ := y.(*Chan); y != nil && Identical(x.elem, y.elem) {
    			// We have channels that differ in direction only.
    			// If there's an unrestricted channel, select the restricted one.
    			switch {
    			case x.dir == SendRecv:
    				return y
    			case y.dir == SendRecv:
    				return x
    			}
    		}
    	}
    
    	// types are different
    	return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 22:34:27 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/CrossProjectMultipleVariantSelectionIntegrationTest.groovy

            """
            settingsFile << """
                rootProject.name = 'test'
            """
            resolve = new ResolveTestFixture(buildFile, "compileClasspath")
            resolve.prepare()
        }
    
        def "can select both main variant and test fixtures with project dependencies"() {
            given:
            settingsFile << "include 'lib'"
    
            file("lib/build.gradle") << """
                configurations {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:47:05 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/modification/KotlinModificationTrackerFactory.kt

    import com.intellij.openapi.util.ModificationTracker
    import org.jetbrains.kotlin.analysis.api.platform.KotlinPlatformComponent
    
    /**
     * [KotlinModificationTrackerFactory] creates modification trackers for select modification events.
     *
     * Further modification tracking is implemented with a subscription-based mechanism via [KotlinModificationTopics]. Modification trackers make the most
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:57:40 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. .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 Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 03:39:03 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  7. 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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 09 00:51:34 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. src/internal/poll/splice_linux_test.go

    		var leakedFDs []int
    		pendingFDs.Range(func(k, v any) bool {
    			leakedFDs = append(leakedFDs, k.(int))
    			return true
    		})
    		if len(leakedFDs) == 0 {
    			break
    		}
    
    		select {
    		case <-expiredTime.C:
    			t.Logf("all descriptors: %v", allFDs)
    			t.Fatalf("leaked descriptors: %v", leakedFDs)
    		default:
    		}
    	}
    }
    
    func BenchmarkSplicePipe(b *testing.B) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:49:26 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. pkg/kube/krt/helpers.go

    		} else {
    			log.WithLabels("name", name, "time", time.Since(t0)).Errorf("sync failed")
    		}
    	}()
    	for _, col := range collections {
    		for {
    			select {
    			case <-t.C:
    				log.WithLabels("name", name, "time", time.Since(t0)).Debugf("waiting for sync...")
    				continue
    			case <-stop:
    				return false
    			case <-col:
    			}
    			break
    		}
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. releasenotes/notes/49700.yaml

    service, or service-like kind, will redirect traffic which is service addressed to your waypoint. Likewise annotating a workload will redirect workload addressed traffic. It is therefore important to understand how consumers address your providers and select a waypoint attachment method which corresponds to this method of access. ...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 01:04:50 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top