Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 2,380 for ONCE (0.04 sec)

  1. tensorflow/c/experimental/filesystem/BUILD

    # Experimental filesystem C APIs for TensorFlow.
    # Will be moved in proper place once all filesystems are converted to the
    # modular framework.
    load("//tensorflow:tensorflow.bzl", "tf_cc_test")
    load("//tensorflow/core/platform:rules_cc.bzl", "cc_library")
    
    package(
        # copybara:uncomment default_applicable_licenses = ["//tensorflow:license"],
        licenses = ["notice"],
    )
    
    # This is only for plugins
    cc_library(
        name = "filesystem_interface",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 27 18:00:18 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/wait/poll.go

    // times before a context cancellation is detected. If immediate is true, condition will be
    // invoked before waiting and guarantees that condition is invoked at least once, regardless of
    // whether the context has been cancelled.
    func PollUntilContextCancel(ctx context.Context, interval time.Duration, immediate bool, condition ConditionWithContextFunc) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 26 06:13:35 UTC 2023
    - 14K bytes
    - Viewed (0)
  3. cmd/prepare-storage.go

    		}
    		// Once is set and we are here means error was already
    		// printed once.
    		if once {
    			return
    		}
    		// once not set, check if same error occurred 3 times in
    		// a row, then make sure we print it to call attention.
    		if m[err.Error()] > 2 {
    			peersLogAlwaysIf(ctx, fmt.Errorf("Following error has been printed %d times.. %w", m[err.Error()], err))
    			// Reduce the count to introduce further delay in printing
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun May 19 08:06:49 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  4. src/internal/goroot/gc.go

    		return false
    	case "gccgo":
    		return gccgoSearch.isStandard(path)
    	default:
    		panic("unknown compiler " + compiler)
    	}
    }
    
    // gccgoSearch holds the gccgo search directories.
    type gccgoDirs struct {
    	once sync.Once
    	dirs []string
    }
    
    // gccgoSearch is used to check whether a gccgo package exists in the
    // standard library.
    var gccgoSearch gccgoDirs
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 18:16:28 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/server/healthz/healthz.go

    // than once for the same mux will result in a panic.
    func InstallLivezHandler(mux mux, checks ...HealthChecker) {
    	InstallPathHandler(mux, "/livez", checks...)
    }
    
    // InstallPathHandler registers handlers for health checking on
    // a specific path to mux. *All handlers* for the path must be
    // specified in exactly one call to InstallPathHandler. Calling
    // InstallPathHandler more than once for the same path and mux will
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 19:11:24 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  6. src/internal/godebug/godebug.go

    	"unsafe"
    	_ "unsafe" // go:linkname
    )
    
    // A Setting is a single setting in the $GODEBUG environment variable.
    type Setting struct {
    	name string
    	once sync.Once
    	*setting
    }
    
    type setting struct {
    	value          atomic.Pointer[value]
    	nonDefaultOnce sync.Once
    	nonDefault     atomic.Uint64
    	info           *godebugs.Info
    }
    
    type value struct {
    	text   string
    	bisect *bisect.Matcher
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 14:19:39 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/telemetry/counter/countertest/countertest.go

    }
    
    // Open enables telemetry data writing to disk.
    // This is supposed to be called once during the program execution
    // (i.e. typically in TestMain), and must not be used with
    // golang.org/x/telemetry/counter.Open.
    func Open(telemetryDir string) {
    	openedMu.Lock()
    	defer openedMu.Unlock()
    	if opened {
    		panic("Open was called more than once")
    	}
    	telemetry.Default = telemetry.NewDir(telemetryDir)
    
    	counter.Open()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:13:09 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. src/cmd/go/internal/imports/tags.go

    // license that can be found in the LICENSE file.
    
    package imports
    
    import (
    	"cmd/go/internal/cfg"
    	"sync"
    )
    
    var (
    	tags     map[string]bool
    	tagsOnce sync.Once
    )
    
    // Tags returns a set of build tags that are true for the target platform.
    // It includes GOOS, GOARCH, the compiler, possibly "cgo",
    // release tags like "go1.13", and user-specified build tags.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 26 17:43:59 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/internal/versions/features.go

    // Do not use directly with Compare.
    const Future = ""
    
    // AtLeast reports whether the file version v comes after a Go release.
    //
    // Use this predicate to enable a behavior once a certain Go release
    // has happened (and stays enabled in the future).
    func AtLeast(v, release string) bool {
    	if v == Future {
    		return true // an unknown future version is always after y.
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/work/DefaultConditionalExecutionQueue.java

    import java.util.concurrent.Future;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.locks.Condition;
    import java.util.concurrent.locks.ReentrantLock;
    
    /**
     * A queueing mechanism that only executes items once certain conditions are reached.
     */
    // TODO This class, DefaultBuildOperationQueue and ExecutionPlan have many of the same
    // behavior and concerns - we should look for a way to generalize this pattern.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top