Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 493 for winter (0.07 sec)

  1. src/go/printer/printer.go

    	commentNewline bool              // true if the comment group contains newlines
    }
    
    type printer struct {
    	// Configuration (does not change after initialization)
    	Config
    	fset *token.FileSet
    
    	// Current state
    	output       []byte       // raw printer result
    	indent       int          // current indentation
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 41.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/util/flushwriter/writer.go

    limitations under the License.
    */
    
    package flushwriter
    
    import (
    	"io"
    	"net/http"
    )
    
    // Wrap wraps an io.Writer into a writer that flushes after every write if
    // the writer implements the Flusher interface.
    func Wrap(w io.Writer) io.Writer {
    	fw := &flushWriter{
    		writer: w,
    	}
    	if flusher, ok := w.(http.Flusher); ok {
    		fw.flusher = flusher
    	}
    	return fw
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 05 16:09:42 UTC 2017
    - 1.3K bytes
    - Viewed (0)
  3. src/archive/tar/writer.go

    	"path"
    	"slices"
    	"strings"
    	"time"
    )
    
    // Writer provides sequential writing of a tar archive.
    // [Writer.WriteHeader] begins a new file with the provided [Header],
    // and then Writer can be treated as an io.Writer to supply that file's data.
    type Writer struct {
    	w    io.Writer
    	pad  int64      // Amount of padding to write after current file entry
    	curr fileWriter // Writer for current file entry
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  4. src/go/internal/gccgoimporter/testdata/pointer.go

    package pointer
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 17 23:03:13 UTC 2015
    - 36 bytes
    - Viewed (0)
  5. src/mime/quotedprintable/writer.go

    import "io"
    
    const lineMaxLen = 76
    
    // A Writer is a quoted-printable writer that implements [io.WriteCloser].
    type Writer struct {
    	// Binary mode treats the writer's input as pure binary and processes end of
    	// line bytes as binary data.
    	Binary bool
    
    	w    io.Writer
    	i    int
    	line [78]byte
    	cr   bool
    }
    
    // NewWriter returns a new [Writer] that writes to w.
    func NewWriter(w io.Writer) *Writer {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 16:12:35 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. src/internal/trace/raw/writer.go

    // NewWriter creates a new byte format writer.
    func NewWriter(w io.Writer, v version.Version) (*Writer, error) {
    	_, err := version.WriteHeader(w, v)
    	return &Writer{w: w, v: v, specs: v.Specs()}, err
    }
    
    // WriteEvent writes a single event to the trace wire format stream.
    func (w *Writer) WriteEvent(e Event) error {
    	// Check version.
    	if e.Version != w.v {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. internal/bucket/replication/filter.go

    )
    
    var errInvalidFilter = Errorf("Filter must have exactly one of Prefix, Tag, or And specified")
    
    // Filter - a filter for a replication configuration Rule.
    type Filter struct {
    	XMLName xml.Name `xml:"Filter" json:"Filter"`
    	Prefix  string
    	And     And
    	Tag     Tag
    
    	// Caching tags, only once
    	cachedTags map[string]string
    }
    
    // IsEmpty returns true if filter is not set
    func (f Filter) IsEmpty() bool {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Sep 28 18:25:46 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  8. pkg/kube/krt/filter.go

    	return func(h *dependency) {
    		// Translate to a key lookup
    		h.filter.keys = smallset.New(keyFunc(name.Name, name.Namespace))
    	}
    }
    
    func FilterKey(k string) FetchOption {
    	return func(h *dependency) {
    		h.filter.keys = smallset.New(k)
    	}
    }
    
    func FilterKeys(k ...string) FetchOption {
    	return func(h *dependency) {
    		h.filter.keys = smallset.New(k...)
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. pkg/ptr/pointer.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package ptr
    
    import (
    	"fmt"
    )
    
    // Of returns a pointer to the input. In most cases, callers should just do &t. However, in some cases
    // Go cannot take a pointer. For example, `ptr.Of(f())`.
    func Of[T any](t T) *T {
    	return &t
    }
    
    // OrEmpty returns *t if its non-nil, or else an empty T
    func OrEmpty[T any](t *T) T {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 07 14:56:54 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. pkg/test/framework/label/filter.go

    // limitations under the License.
    
    package label
    
    import (
    	"fmt"
    	"regexp"
    	"strings"
    
    	"istio.io/istio/pkg/log"
    )
    
    // Selector is a Set of label filter expressions that get applied together to decide whether tests should be selected
    // for execution or not.
    type Selector struct {
    	// The constraints are and'ed together.
    	present Set
    	absent  Set
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 2.9K bytes
    - Viewed (0)
Back to top