- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 462 for picard (0.26 sec)
-
src/cmd/go/internal/vcweb/hg.go
// write anything else to stdout, but it's not a big deal if it does anyway. // Keep the stdout pipe open so that 'hg serve' won't get a SIGPIPE, but // actively discard its output so that it won't hang on a blocking write. wg.Add(1) go func() { io.Copy(io.Discard, r) wg.Done() }() u, err := url.Parse(strings.TrimSpace(line)) if err != nil { logger.Printf("%v: %v", cmd, err)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 01 02:52:19 UTC 2023 - 3.3K bytes - Viewed (0) -
src/io/io.go
return n, err } } return } // Discard is a [Writer] on which all Write calls succeed // without doing anything. var Discard Writer = discard{} type discard struct{} // discard implements ReaderFrom as an optimization so Copy to // io.Discard can avoid doing unnecessary work. var _ ReaderFrom = discard{} func (discard) Write(p []byte) (int, error) { return len(p), nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 17:34:10 UTC 2024 - 21.6K bytes - Viewed (0) -
src/flag/flag_test.go
func (f *flagVar) Set(value string) error { *f = append(*f, value) return nil } func TestUserDefined(t *testing.T) { var flags FlagSet flags.Init("test", ContinueOnError) flags.SetOutput(io.Discard) var v flagVar flags.Var(&v, "v", "usage") if err := flags.Parse([]string{"-v", "1", "-v", "2", "-v=3"}); err != nil { t.Error(err) } if len(v) != 3 { t.Fatal("expected 3 args; got ", len(v)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:38:24 UTC 2024 - 22K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/project/ant/BasicAntBuilder.java
public class BasicAntBuilder extends org.gradle.api.AntBuilder implements Closeable { private final Field nodeField; private final List children; public BasicAntBuilder() { // These are used to discard references to tasks so they can be garbage collected Field collectorField; try { nodeField = groovy.ant.AntBuilder.class.getDeclaredField("lastCompletedNode");
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Aug 11 16:17:40 UTC 2022 - 4.7K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/dependencyManagement/customizingResolution-conditionalSubstitutionRule/groovy/consumer/build.gradle
/* * This sample demonstrates the ability to selectively include projects * from the local directory rather than using an external dependency. * * By default all projects are considered external and are picked up * from the "repo" ivy repository. To include local projects in a build, * set the "useLocal" system property on the gradle command line: * * gradle -DuseLocal=project1,project2 :showJarFiles * */ plugins {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.2K bytes - Viewed (0) -
src/log/slog/json_handler_test.go
wc io.Writer attrs []any }{ {"separate", io.Discard, []any{ String("program", "my-test-program"), String("package", "log/slog"), String("method", "GET"), String("URL", "https://pkg.go.dev/golang.org/x/log/slog"), String("traceID", "2039232309232309"), String("addr", "127.0.0.1:8080"), }}, {"struct", io.Discard, structAttrs}, {"struct file", outFile, structAttrs}, } {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jul 11 17:06:26 UTC 2023 - 6.5K bytes - Viewed (0) -
src/runtime/testdata/testprogcgo/gprof.go
go C.CallGoSleep() go C.CallGoSleep() go C.CallGoSleep() time.Sleep(1 * time.Second) prof := pprof.Lookup("goroutine") prof.WriteTo(io.Discard, 1) fmt.Println("OK") } //export GoSleep func GoSleep() { time.Sleep(time.Hour)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 11 15:34:02 UTC 2021 - 868 bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/cache/CacheInterceptor.kt
import okhttp3.Interceptor import okhttp3.Protocol import okhttp3.Request import okhttp3.Response import okhttp3.internal.closeQuietly import okhttp3.internal.connection.RealCall import okhttp3.internal.discard import okhttp3.internal.http.ExchangeCodec import okhttp3.internal.http.HttpMethod import okhttp3.internal.http.RealResponseBody import okhttp3.internal.http.promisesBody import okhttp3.internal.stripBody
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Fri Mar 22 07:09:21 UTC 2024 - 10.2K bytes - Viewed (0) -
platforms/software/signing/src/integTest/groovy/org/gradle/plugins/signing/SigningWithGpgCmdIntegrationSpec.groovy
signing { useGpgCmd() sign(jar) } """ // Remove the 'signing.gnupg.keyName' entry from the gradle.properties file, so the default key is picked up Properties properties = new Properties() properties.load(propertiesFile.newInputStream()) properties.remove("signing.gnupg.keyName") properties.store(propertiesFile.newOutputStream(), "")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 1.6K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/dependencyManagement/customizingResolution-conditionalSubstitutionRule/kotlin/consumer/build.gradle.kts
/* * This sample demonstrates the ability to selectively include projects * from the local directory rather than using an external dependency. * * By default all projects are considered external and are picked up * from the "repo" ivy repository. To include local projects in a build, * set the "useLocal" system property on the gradle command line: * * gradle -DuseLocal=project1,project2 :showJarFiles * */ plugins {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.2K bytes - Viewed (0)