Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for newTree (0.43 sec)

  1. test/fixedbugs/issue44330.dir/b.go

    // the LICENSE file.
    
    package main
    
    import (
    	"./a"
    )
    
    type Term struct {
    	top *a.Table
    }
    
    //go:noinline
    func NewFred() *Term {
    	table := a.NewTable()
    	return &Term{top: table}
    }
    
    func main() {
    	NewFred()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 01 20:59:43 UTC 2021
    - 346 bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/util/proxy/proxy.go

    	newReq := req.WithContext(newCtx)
    	newReq.Header = utilnet.CloneHeader(req.Header)
    	newReq.URL = location
    	newReq.Host = location.Host
    
    	// If the original request has an audit ID, let's make sure we propagate this
    	// to the aggregated server.
    	if auditID, found := audit.AuditIDFrom(req.Context()); found {
    		newReq.Header.Set(auditinternal.HeaderAuditID, string(auditID))
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 19 00:36:22 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/validation/ratcheting.go

    	if res.IsValid() {
    		return res
    	}
    
    	// Current ratcheting rule is to ratchet errors if DeepEqual(old, new) is true.
    	if r.correlation.CachedDeepEqual() {
    		newRes := &validate.Result{}
    		newRes.MergeAsWarnings(res)
    		return newRes
    	}
    
    	return res
    }
    
    // SubPropertyValidator overrides the standard validator constructor for sub-properties by
    // returning our special ratcheting variant.
    //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 26 21:17:17 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. src/hash/crc32/crc32.go

    	}
    	return &digest{0, tab}
    }
    
    // NewIEEE creates a new [hash.Hash32] computing the CRC-32 checksum using
    // the [IEEE] polynomial. Its Sum method will lay the value out in
    // big-endian byte order. The returned Hash32 also implements
    // [encoding.BinaryMarshaler] and [encoding.BinaryUnmarshaler] to marshal
    // and unmarshal the internal state of the hash.
    func NewIEEE() hash.Hash32 { return New(IEEETable) }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 12 05:36:29 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. src/hash/marshal_test.go

    var marshalTests = []struct {
    	name   string
    	new    func() hash.Hash
    	golden []byte
    }{
    	{"adler32", func() hash.Hash { return adler32.New() }, fromHex("61646c01460a789d")},
    	{"crc32", func() hash.Hash { return crc32.NewIEEE() }, fromHex("63726301ca87914dc956d3e8")},
    	{"crc64", func() hash.Hash { return crc64.New(crc64.MakeTable(crc64.ISO)) }, fromHex("6372630273ba8484bbcd5def5d51c83c581695be")},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 06 07:45:46 UTC 2017
    - 5.4K bytes
    - Viewed (0)
  6. pkg/log/uds.go

    		buffers: make([]*buffer.Buffer, 0),
    	}
    	for l := zapcore.DebugLevel; l <= zapcore.FatalLevel; l++ {
    		if baseCore.Enabled(l) {
    			uc.minimumLevel = l
    			break
    		}
    	}
    	return zapcore.NewTee(baseCore, uc)
    }
    
    // Enabled implements zapcore.Core.
    func (u *udsCore) Enabled(l zapcore.Level) bool {
    	return l >= u.minimumLevel
    }
    
    // With implements zapcore.Core.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 16 00:20:01 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. internal/grid/README.md

        instance := grid.NewStream[*Payload, *Req, *Resp](h, newPayload, newReq, newResp)
    	
        // Tweakable options
        instance.WithPayload = true // default true when newPayload != nil
        instance.OutCapacity = 1    // default
        instance.InCapacity = 1     // default true when newReq != nil
    	
        // Register the handler on the manager
        instance.Register(manager, handler, "asubroute")
    	
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/endpoints/openapi/openapi.go

    	v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    	"k8s.io/kube-openapi/pkg/util"
    	"k8s.io/kube-openapi/pkg/validation/spec"
    )
    
    var verbs = util.NewTrie([]string{"get", "log", "read", "replace", "patch", "delete", "deletecollection", "watch", "connect", "proxy", "list", "create", "patch"})
    
    const (
    	extensionGVK = "x-kubernetes-group-version-kind"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 09 18:11:41 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  9. src/cmd/vendor/rsc.io/markdown/code.go

    		}
    	} else {
    		fmt.Fprintf(buf, "%s%s\n", prefix1, b.Fence)
    		for _, line := range b.Text {
    			fmt.Fprintf(buf, "%s%s\n", s.prefix, line)
    		}
    		fmt.Fprintf(buf, "%s%s\n", s.prefix, b.Fence)
    	}
    }
    
    func newPre(p *parseState, s line) (line, bool) {
    	peek2 := s
    	if p.para() == nil && peek2.trimSpace(4, 4, false) && !peek2.isBlank() {
    		b := &preBuilder{ /*indent: strings.TrimSuffix(s.string(), peek2.string())*/ }
    		p.addBlock(b)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. cmd/main.go

    func newApp(name string) *cli.App {
    	// Collection of minio commands currently supported are.
    	commands := []cli.Command{}
    
    	// Collection of minio commands currently supported in a trie tree.
    	commandsTree := trie.NewTrie()
    
    	// registerCommand registers a cli command.
    	registerCommand := func(command cli.Command) {
    		commands = append(commands, command)
    		commandsTree.Insert(command.Name)
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top