Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for setCode (0.12 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. 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)
  4. docs/de/docs/how-to/extending-openapi.md

    Eine `FastAPI`-Anwendung (-Instanz) verfügt über eine `.openapi()`-Methode, von der erwartet wird, dass sie das OpenAPI-Schema zurückgibt.
    
    Als Teil der Erstellung des Anwendungsobjekts wird eine *Pfadoperation* für `/openapi.json` (oder welcher Wert für den Parameter `openapi_url` gesetzt wurde) registriert.
    
    Diese gibt lediglich eine JSON-Response zurück, mit dem Ergebnis der Methode `.openapi()` der Anwendung.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Mar 14 16:44:05 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. subprojects/core/src/main/java/org/gradle/internal/fingerprint/impl/PatternSetSnapshottingFilter.java

                }
                return relativePath;
            }
    
            @Override
            @Deprecated
            public int getMode() {
                DeprecationLogger.deprecateMethod(FileTreeElement.class, "getMode()")
                    .replaceWith("getPermissions()")
                    .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
    - 8K bytes
    - Viewed (0)
  10. 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)
Back to top