Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 46 for recordLine (0.16 sec)

  1. src/cmd/go/internal/help/help.go

    		n += n0
    		if err != nil {
    			return n, err
    		}
    		if b == '\n' {
    			c.wroteSlashes = false
    		}
    	}
    	return len(p), nil
    }
    
    // An errWriter wraps a writer, recording whether a write error occurred.
    type errWriter struct {
    	w   io.Writer
    	err error
    }
    
    func (w *errWriter) Write(b []byte) (int, error) {
    	n, err := w.w.Write(b)
    	if err != nil {
    		w.err = err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. internal/http/response-recorder.go

    	LogAllBody bool
    
    	TimeToFirstByte time.Duration
    	StartTime       time.Time
    	// number of bytes written
    	bytesWritten int
    	// number of bytes of response headers written
    	headerBytesWritten int
    	// Internal recording buffer
    	headers bytes.Buffer
    	body    bytes.Buffer
    	// Indicate if headers are written in the log
    	headersLogged bool
    }
    
    // Hijack - hijacks the underlying connection
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Dec 02 00:13:19 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  3. pilot/pkg/xds/monitoring.go

    }
    
    func recordPushTriggers(reasons model.ReasonStats) {
    	for r, cnt := range reasons {
    		t, f := triggerMetric[r]
    		if f {
    			t.RecordInt(int64(cnt))
    		} else {
    			pushTriggers.With(typeTag.Value(string(r))).Increment()
    		}
    	}
    }
    
    func isUnexpectedError(err error) bool {
    	s, ok := status.FromError(err)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 00:26:45 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/storagemigration/v1alpha1/types.go

    	// "Running", users can use this token to check the progress of the
    	// migration.
    	// +optional
    	ContinueToken string `json:"continueToken,omitempty" protobuf:"bytes,2,opt,name=continueToken"`
    	// TODO: consider recording the storage version hash when the migration
    	// is created. It can avoid races.
    }
    
    // The names of the group, the version, and the resource.
    type GroupVersionResource struct {
    	// The name of the group.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/alias.go

    	if check != nil {
    		check.needsCleanup(a)
    	}
    
    	return a
    }
    
    // newAliasInstance creates a new alias instance for the given origin and type
    // arguments, recording pos as the position of its synthetic object (for error
    // reporting).
    func (check *Checker) newAliasInstance(pos syntax.Pos, orig *Alias, targs []Type, ctxt *Context) *Alias {
    	assert(len(targs) > 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. pkg/scheduler/internal/cache/snapshot.go

    				Size:     image.SizeBytes,
    				NumNodes: imageExistenceMap[name].Len(),
    			}
    		}
    	}
    	return imageStates
    }
    
    // createImageExistenceMap returns a map recording on which nodes the images exist, keyed by the images' names.
    func createImageExistenceMap(nodes []*v1.Node) map[string]sets.Set[string] {
    	imageExistenceMap := make(map[string]sets.Set[string])
    	for _, node := range nodes {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 17 01:38:03 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  7. pkg/registry/core/serviceaccount/storage/storage_test.go

    	if err != nil {
    		t.Fatalf("failed creating test service account: %v", err)
    	}
    
    	// create an audit context to allow recording audit information
    	ctx = audit.WithAuditContext(ctx)
    	_, err = storage.Token.Create(ctx, serviceAccount.Name, &authenticationapi.TokenRequest{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      serviceAccount.Name,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  8. src/go/types/alias.go

    	if check != nil {
    		check.needsCleanup(a)
    	}
    
    	return a
    }
    
    // newAliasInstance creates a new alias instance for the given origin and type
    // arguments, recording pos as the position of its synthetic object (for error
    // reporting).
    func (check *Checker) newAliasInstance(pos token.Pos, orig *Alias, targs []Type, ctxt *Context) *Alias {
    	assert(len(targs) > 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  9. README.md

       services. The proxies form a _secure microservice mesh_ providing a rich
       set of functions like discovery, rich layer-7 routing, circuit breakers,
       policy enforcement and telemetry recording/reporting
       functions.
    
      > Note: The service mesh is not an overlay network. It
      > simplifies and enhances how microservices in an application talk to each
      > other over the network provided by the underlying platform.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 26 15:28:59 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/syntax/source.go

    // This file implements source, a buffered rune reader
    // specialized for scanning Go code: Reading
    // ASCII characters, maintaining current (line, col)
    // position information, and recording of the most
    // recently read source segment are highly optimized.
    // This file is self-contained (go tool compile source.go
    // compiles) and thus could be made into its own package.
    
    package syntax
    
    import (
    	"io"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 05 19:25:46 UTC 2020
    - 5.7K bytes
    - Viewed (0)
Back to top