- Sort Score
- Result 10 results
- Languages All
Results 321 - 330 of 735 for Fprintf (0.2 sec)
-
samples/crawler/src/main/java/okhttp3/sample/Crawler.java
String originalName = currentThread.getName(); currentThread.setName("Crawler " + url); try { fetch(url); } catch (IOException e) { System.out.printf("XXX: %s %s%n", url, e); } finally { currentThread.setName(originalName); } } } public void fetch(HttpUrl url) throws IOException { // Skip hosts that we've visited many times.
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Aug 12 07:26:27 UTC 2021 - 4.6K bytes - Viewed (0) -
internal/store/queuestore_test.go
for i := 0; i < 5; i++ { items = append(items, TestItem{ Name: fmt.Sprintf("test-item-%d", i), Property: "property", }) } if _, err := store.PutMultiple(items); err != nil { t.Fatalf("failed to put multiple; %v", err) } for i := 5; i < 10; i++ { item := TestItem{ Name: fmt.Sprintf("test-item-%d", i), Property: "property", }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 8.7K bytes - Viewed (0) -
cmd/streaming-signature-v4_test.go
readers := []io.Reader{ // Test - 1 bytes.NewReader([]byte("1000;chunk-signature=111123333333333333334444211\r\n")), // Test - 2 bytes.NewReader([]byte("1000;")), // Test - 3 bytes.NewReader([]byte(fmt.Sprintf("%4097d", 1))), // Test - 4 bytes.NewReader([]byte("1000;chunk-signature=111123333333333333334444211\r\n")), } testCases := []testCase{ // Test - 1 - small bufio reader. {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 5.7K bytes - Viewed (0) -
cni/pkg/util/podutil.go
"istio.io/api/annotation" "istio.io/api/label" "istio.io/istio/pkg/config/constants" ) var annotationPatch = []byte(fmt.Sprintf( `{"metadata":{"annotations":{"%s":"%s"}}}`, annotation.AmbientRedirection.Name, constants.AmbientRedirectionEnabled, )) var annotationRemovePatch = []byte(fmt.Sprintf( `{"metadata":{"annotations":{"%s":null}}}`, annotation.AmbientRedirection.Name, ))
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 4.7K bytes - Viewed (0) -
cni/pkg/nodeagent/error.go
import ( "errors" "fmt" ) var ErrPartialAdd = errors.New("partial add error") type PartialAddError struct { inner error } func (e *PartialAddError) Error() string { return fmt.Sprintf("%s: %v", ErrPartialAdd.Error(), e.inner) } func (e *PartialAddError) Unwrap() []error { return []error{ErrPartialAdd, e.inner} } func NewErrPartialAdd(err error) *PartialAddError { return &PartialAddError{
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jan 26 20:34:28 UTC 2024 - 1K bytes - Viewed (0) -
src/archive/zip/example_test.go
if err != nil { log.Fatal(err) } defer r.Close() // Iterate through the files in the archive, // printing some of their contents. for _, f := range r.File { fmt.Printf("Contents of %s:\n", f.Name) rc, err := f.Open() if err != nil { log.Fatal(err) } _, err = io.CopyN(os.Stdout, rc, 68) if err != nil { log.Fatal(err) } rc.Close() fmt.Println() }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Jan 27 00:22:03 UTC 2016 - 2K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java
final AtomicLong nextCallId = new AtomicLong(1L); @Override public EventListener create(Call call) { long callId = nextCallId.getAndIncrement(); System.out.printf("%04d %s%n", callId, call.request().url()); return new PrintingEventListener(callId, System.nanoTime()); } }; final long callId; final long callStartNanos;
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Feb 16 23:20:49 UTC 2020 - 6.1K bytes - Viewed (0) -
istioctl/pkg/kubeinject/kubeinject_test.go
" "), GoldenFilename: "testdata/deployment/hello-with-proxyconfig-anno.yaml.injected", }, } kubeInject := InjectCommand(cli.NewFakeContext(nil)) for i, c := range cases { t.Run(fmt.Sprintf("case %d %s", i, strings.Join(c.Args, " ")), func(t *testing.T) { testutil.VerifyOutput(t, kubeInject, c) cleanUpKubeInjectTestEnv() }) } } func cleanUpKubeInjectTestEnv() { meshConfigFile = ""
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jun 15 15:02:17 UTC 2023 - 3.4K bytes - Viewed (0) -
cni/pkg/plugin/plugin_test.go
"excludenamespaces": "testNS", "cnibindir": "/testDirectory" } }` pod, ns := buildFakePodAndNSForClient() testDoAddRun(t, fmt.Sprintf(confNoPrevResult, false), testNSName, pod, ns) testDoAddRun(t, fmt.Sprintf(confNoPrevResult, true), testNSName, pod, ns) } func TestCmdAddEnableDualStack(t *testing.T) { pod, ns := buildFakePodAndNSForClient()
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 17.3K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingException.java
writer.print(" - ["); writer.print(problem.getSeverity()); writer.print("] "); writer.print(problem.getMessage()); String location = ModelProblemUtils.formatLocation(problem, modelId); if (!location.isEmpty()) { writer.print(" @ "); writer.print(location); } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.6K bytes - Viewed (0)