- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 96 for SetMode (0.13 sec)
-
src/cmd/vendor/golang.org/x/telemetry/mode.go
return mode } // SetMode sets the global telemetry mode to the given value. // // See the documentation of [Mode] for a description of the supported mode // values. // // An error is returned if the provided mode value is invalid, or if an error // occurs while persisting the mode value to the file system. func SetMode(mode string) error { return telemetry.Default.SetMode(mode)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 16:13:09 UTC 2024 - 1.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/internal/telemetry/dir.go
return d.modefile } // SetMode updates the telemetry mode with the given mode. // Acceptable values for mode are "on", "off", or "local". // // SetMode always writes the mode file, and explicitly records the date at // which the modefile was updated. This means that calling SetMode with "on" // effectively resets the timeout before the next telemetry report is uploaded. func (d Dir) SetMode(mode string) error {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 16:13:09 UTC 2024 - 4.8K bytes - Viewed (0) -
src/cmd/internal/telemetry/telemetry.go
return telemetry.Mode() } // SetMode sets the global telemetry mode to the given value. // // See the documentation of [Mode] for a description of the supported mode // values. // // An error is returned if the provided mode value is invalid, or if an error // occurs while persisting the mode value to the file system. func SetMode(mode string) error { return telemetry.SetMode(mode) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:47:30 UTC 2024 - 3.6K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache-base/src/main/kotlin/org/gradle/internal/cc/base/services/ConfigurationCacheEnvironmentChangeTracker.kt
private inline fun <T : TrackerMode> setMode(transition: (TrackerMode) -> T): T { synchronized(this) { val newMode = transition(mode) mode = newMode return newMode } } fun toTrackingMode(): Tracking = setMode(TrackerMode::toTracking) fun toRestoringMode(): Restoring = setMode(TrackerMode::toRestoring) } private
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 9.5K bytes - Viewed (0) -
src/cmd/internal/telemetry/telemetry_bootstrap.go
func CountFlagValue(prefix string, flagSet flag.FlagSet, flagName string) {} func Mode() string { return "" } func SetMode(mode string) error { return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 20:16:39 UTC 2024 - 1.1K bytes - Viewed (0) -
platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/filesystem/services/NativePlatformBackedChmod.java
public NativePlatformBackedChmod(PosixFiles posixFiles) { this.posixFiles = posixFiles; } @Override public void chmod(File file, int mode) { posixFiles.setMode(file, mode); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:50:56 UTC 2024 - 1.1K bytes - Viewed (0) -
src/math/big/float_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 20:22:45 UTC 2024 - 51.9K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestWorkspaceBuilder.groovy
} TestFile file(String name) { baseDir.file(name).createFile() } TestFile link(String name, String target) { baseDir.file(name).createLink(target) } def setMode(int mode) { baseDir.mode = mode } def methodMissing(String name, Object args) { if (args.length == 1 && args[0] instanceof Closure) { baseDir.file(name).create(args[0])
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.8K bytes - Viewed (0) -
src/math/big/floatexample_test.go
// sample operands above require 2 bits to represent mantissa // set binary precision to 2 to round them to integer values f := new(big.Float).SetPrec(2).SetMode(mode).SetFloat64(f64) fmt.Printf(" %*g", len(mode.String()), f) } fmt.Println() } // Output: // x ToNearestEven ToNearestAway ToZero AwayFromZero ToNegativeInf ToPositiveInf
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 15:46:54 UTC 2024 - 4.1K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopyPermissionsIntegrationTest.groovy
it.mode = 0755 } into ("build/tmp") } """ when: executer.expectDocumentedDeprecationWarning("The CopyProcessingSpec.setMode() method has been deprecated. " + "This is scheduled to be removed in Gradle 9.0. " + "Please use the permissions(Action) method instead. " +
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 20K bytes - Viewed (0)