Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 96 for setCode (0.16 sec)

  1. platforms/core-configuration/base-services-groovy/src/main/java/org/gradle/groovy/scripts/internal/StatementReplacingVisitorSupport.java

        stat.getExpression().visit(this);
        stat.setCode(replace(stat.getCode()));
      }
    
      @Override
      public void visitSynchronizedStatement(SynchronizedStatement stat) {
        stat.getExpression().visit(this);
        stat.setCode(replace(stat.getCode()));
      }
    
      @Override
      public void visitCatchStatement(CatchStatement stat) {
        stat.setCode(replace(stat.getCode()));
      }
    
      @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 10:00:26 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  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. 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)
  6. mockwebserver/README.md

      // instance for every unit test.
      MockWebServer server = new MockWebServer();
    
      // Schedule some responses.
      server.enqueue(new MockResponse().setBody("hello, world!"));
      server.enqueue(new MockResponse().setBody("sup, bra?"));
      server.enqueue(new MockResponse().setBody("yo dog"));
    
      // Start the server.
      server.start();
    
      // Ask the server for its URL. You'll need this to make HTTP requests.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Dec 17 15:34:10 UTC 2023
    - 5K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. cmd/kubeadm/test/cmd/util.go

    func RunCmd(command string, args ...string) (string, string, int, error) {
    	stdout, stderr, retcode, err := runCmdNoWrap(command, args...)
    	if err != nil {
    		return stdout, stderr, retcode, errors.Wrapf(err, "error running %s %v; \nretcode %d, \nstdout %q, \nstderr %q, \ngot error",
    			command, args, retcode, stdout, stderr)
    	}
    	return stdout, stderr, retcode, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 01 12:47:03 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. 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)
Back to top