Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 215 for SetMode (0.13 sec)

  1. 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)
  2. 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)
  3. subprojects/core/src/main/java/org/gradle/api/internal/file/archive/TarCopyAction.java

                    archiveEntry.setModTime(getArchiveTimeFor(fileDetails));
                    archiveEntry.setSize(fileDetails.getSize());
                    archiveEntry.setMode(UnixStat.FILE_FLAG | fileDetails.getPermissions().toUnixNumeric());
                    tarOutStr.putArchiveEntry(archiveEntry);
                    fileDetails.copyTo(tarOutStr);
                    tarOutStr.closeArchiveEntry();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 08 14:16:53 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  4. 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)
  5. src/cmd/vendor/github.com/google/pprof/internal/driver/html/common.js

        if (e.button != 0) return; // Do not catch right-clicks etc.
        setMode(MOUSEPAN);
        panStart(e.clientX, e.clientY);
        e.preventDefault();
        svg.addEventListener('mousemove', handleScanMove);
      }
    
      function handleScanMove(e) {
        if (e.buttons == 0) {
          // Missed an end event, perhaps because mouse moved outside window.
          setMode(IDLE);
          svg.removeEventListener('mousemove', handleScanMove);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 20K bytes
    - Viewed (0)
  6. platforms/software/version-control/src/main/java/org/gradle/vcs/git/internal/GitVersionControlSystem.java

                        setURI(normalizeUri(gitSpec.getUrl())).
                        setDirectory(workingDir).
                        setCloneSubmodules(true);
                git = clone.call();
                git.reset().setMode(ResetCommand.ResetType.HARD).setRef(ref.getCanonicalId()).call();
            } catch (GitAPIException | URISyntaxException | JGitInternalException e) {
                throw wrapGitCommandException("clone", gitSpec.getUrl(), workingDir, e);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 31 14:54:52 UTC 2024
    - 8K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/api/internal/file/copy/DefaultFileCopyDetails.java

        }
    
        @Override
        public void exclude() {
            excluded = true;
        }
    
        @Override
        @Deprecated
        public void setMode(int mode) {
            DeprecationLogger.deprecateMethod(CopyProcessingSpec.class, "setMode()")
                .replaceWith("permissions(Action)")
                .willBeRemovedInGradle9()
                .withUpgradeGuideSection(8, "unix_file_permissions_deprecated")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 15:25:10 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. src/math/big/floatmarsh_test.go

    					medium.Reset() // empty buffer for each test case (in case of failures)
    					x := sign + test
    
    					var tx Float
    					_, _, err := tx.SetPrec(prec).SetMode(mode).Parse(x, 0)
    					if err != nil {
    						t.Errorf("parsing of %s (%dbits, %v) failed (invalid test case): %v", x, prec, mode, err)
    						continue
    					}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 23 18:18:05 UTC 2023
    - 4.5K bytes
    - Viewed (0)
Back to top