Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 217 for picard (0.15 sec)

  1. src/compress/gzip/gunzip_test.go

    	if err != nil {
    		t.Fatalf("NewReader(testdata/issue6550.gz): %v", err)
    	}
    	defer gzip.Close()
    	done := make(chan bool, 1)
    	go func() {
    		_, err := io.Copy(io.Discard, gzip)
    		if err == nil {
    			t.Errorf("Copy succeeded")
    		} else {
    			t.Logf("Copy failed (correctly): %v", err)
    		}
    		done <- true
    	}()
    	select {
    	case <-time.After(1 * time.Second):
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 12 15:06:07 UTC 2022
    - 19.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/html.go

    // phase is used for collapsing columns and should be unique across the table.
    func (w *HTMLWriter) WritePhase(phase, title string) {
    	if w == nil {
    		return // avoid generating HTML just to discard it
    	}
    	hash := hashFunc(w.Func)
    	w.pendingPhases = append(w.pendingPhases, phase)
    	w.pendingTitles = append(w.pendingTitles, title)
    	if !bytes.Equal(hash, w.prevHash) {
    		w.flushPhases()
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 15:11:40 UTC 2023
    - 34.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/util/proxy/streamtranslator_test.go

    		})
    		if err != nil {
    			t.Errorf("error on createHTTPStreams: %v", err)
    			return
    		}
    		defer ctx.conn.Close()
    		// Read/discard STDIN data before returning error on error stream.
    		_, err = io.Copy(io.Discard, ctx.stdinStream)
    		if err != nil {
    			t.Fatalf("error copying STDIN to DISCARD: %v", err)
    		}
    		// Force an non-zero exit code error returned on the error stream.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 27 23:21:55 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  4. src/net/http/fcgi/child.go

    	// TODO(bradfitz): also bound this copy in time. Or send
    	// some sort of abort request to the host, so the host
    	// can properly cut off the client sending all the data.
    	// For now just bound it a little and
    	io.CopyN(io.Discard, body, 100<<20)
    	body.Close()
    
    	if !req.keepConn {
    		c.conn.Close()
    	}
    }
    
    func (c *child) cleanUp() {
    	for _, req := range c.requests {
    		if req.pw != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/networkfilter.go

    	}
    
    	return out
    }
    
    // buildRedisFilter builds an outbound Envoy RedisProxy filter.
    // Currently, if multiple clusters are defined, one of them will be picked for
    // configuring the Redis proxy.
    func buildRedisFilter(statPrefix, clusterName string) *listener.Filter {
    	redisProxy := &redis.RedisProxy{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/api/services/internal/DefaultBuildServicesRegistry.java

                            preserved.add(serviceRegistration);
                        }
                    }).rethrow();
                } finally {
                    // Replace the entire container, rather than clear it, to discard all the service instances and because it may contain configuration actions and
                    // other state that can affect the service instances when they are registered again
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 19:15:45 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  7. cmd/perf-tests.go

    						errOnce.Do(func() {
    							retError = err.Error()
    						})
    					}
    					downloadsCancel()
    					return
    				}
    				fbr := firstByteRecorder{
    					r: r,
    				}
    				n, err := xioutil.Copy(xioutil.Discard, &fbr)
    				r.Close()
    				if err == nil {
    					response := time.Since(t)
    					ttfb := time.Since(*fbr.t)
    					// Only capture success criteria - do not
    					// have to capture failed reads, truncated
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store_test.go

    func init() {
    	metav1.AddToGroupVersion(scheme, metav1.SchemeGroupVersion)
    	utilruntime.Must(example.AddToScheme(scheme))
    	utilruntime.Must(examplev1.AddToScheme(scheme))
    
    	grpclog.SetLoggerV2(grpclog.NewLoggerV2(ioutil.Discard, ioutil.Discard, os.Stderr))
    }
    
    func newPod() runtime.Object {
    	return &example.Pod{}
    }
    
    func newPodList() runtime.Object {
    	return &example.PodList{}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/handling-errors.md

    O benefício de lançar uma exceção em vez de retornar um valor ficará mais evidente na seção sobre Dependências e Segurança.
    
    Neste exemplo, quando o cliente pede, na requisição, por um item cujo ID não existe, a exceção com o status code `404` é lançada:
    
    ```Python hl_lines="11"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 10K bytes
    - Viewed (0)
  10. cni/pkg/install/install.go

    		// We don't support (or want) to silently (re)deploy any binaries that were not in the initial "snapshot"
    		// so we intentionally discard/do not update the list of installedBins on redeploys.
    		if _, err := in.installAll(ctx); err != nil {
    			return err
    		}
    		installLog.Info("Istio CNI configuration and binaries validated/reinstalled.")
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 21:45:18 UTC 2024
    - 10.7K bytes
    - Viewed (0)
Back to top