Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 97 for Implementation (0.18 sec)

  1. src/hash/maphash/maphash_purego.go

    	return rthash([]byte(s), state)
    }
    
    func randUint64() uint64 {
    	buf := make([]byte, 8)
    	_, _ = rand.Read(buf)
    	return byteorder.LeUint64(buf)
    }
    
    // This is a port of wyhash implementation in runtime/hash64.go,
    // without using unsafe for purego.
    
    const (
    	m1 = 0xa0761d6478bd642f
    	m2 = 0xe7037ed1a0b428db
    	m3 = 0x8ebc6af09c88c6e3
    	m4 = 0x589965cc75374cc3
    	m5 = 0x1d8e4e27c47d124f
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 12 05:36:29 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. pkg/kubelet/util/manager/cache_based_manager.go

    		}
    	}
    	return data.object, data.err
    }
    
    // cacheBasedManager keeps a store with objects necessary
    // for registered pods. Different implementations of the store
    // may result in different semantics for freshness of objects
    // (e.g. ttl-based implementation vs watch-based implementation).
    type cacheBasedManager struct {
    	objectStore          Store
    	getReferencedObjects func(*v1.Pod) sets.Set[string]
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. src/internal/coverage/rtcov/rtcov.go

    // license that can be found in the LICENSE file.
    
    package rtcov
    
    import "unsafe"
    
    // This package contains types whose structure is shared between
    // the runtime package and the "runtime/coverage" implementation.
    
    // CovMetaBlob is a container for holding the meta-data symbol (an
    // RODATA variable) for an instrumented Go package. Here "p" points to
    // the symbol itself, "len" is the length of the sym in bytes, and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. src/net/sendfile_unix_alt.go

    	}
    
    	if remain == 0 {
    		fi, err := f.Stat()
    		if err != nil {
    			return 0, err, false
    		}
    
    		remain = fi.Size()
    	}
    
    	// The other quirk with Darwin/FreeBSD/DragonFly/Solaris's sendfile
    	// implementation is that it doesn't use the current position
    	// of the file -- if you pass it offset 0, it starts from
    	// offset 0. There's no way to tell it "start from current
    	// position", so we have to manage that explicitly.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. pkg/proxy/util/nfacct/handler.go

    type request interface {
    	Serialize() []byte
    	AddData(data nl.NetlinkRequestData)
    	AddRawData(data []byte)
    	Execute(sockType int, resType uint16) ([][]byte, error)
    }
    
    // netlinkHandler is an implementation of the handler interface. It maintains a netlink socket
    // for communication with the NFAcct subsystem.
    type netlinkHandler struct {
    	socket *nl.NetlinkSocket
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 06:47:50 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. src/testing/example.go

    type InternalExample struct {
    	Name      string
    	F         func()
    	Output    string
    	Unordered bool
    }
    
    // RunExamples is an internal function but exported because it is cross-package;
    // it is part of the implementation of the "go test" command.
    func RunExamples(matchString func(pat, str string) (bool, error), examples []InternalExample) (ok bool) {
    	_, ok = runExamples(matchString, examples)
    	return ok
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/decode.go

    		TimeTag: cbor.DecTagOptional,
    
    		// Observed depth up to 16 in fuzzed batch/v1 CronJobList. JSON implementation limit
    		// is 10000.
    		MaxNestedLevels: 64,
    
    		MaxArrayElements: 1024,
    		MaxMapPairs:      1024,
    
    		// Indefinite-length sequences aren't produced by this serializer, but other
    		// implementations can.
    		IndefLength: cbor.IndefLengthAllowed,
    
    		// Accept inputs that contain CBOR tags.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 14:03:36 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/util/runtime/runtime.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    // Package runtime provides the kubeadm container runtime implementation.
    package runtime
    
    import (
    	"context"
    	"encoding/json"
    	"strings"
    	"time"
    
    	"github.com/pkg/errors"
    	errorsutil "k8s.io/apimachinery/pkg/util/errors"
    	criapi "k8s.io/cri-api/pkg/apis"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 06:33:22 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. src/path/filepath/path_windows.go

    	if strings.HasPrefix(p, prefix) {
    		return true
    	}
    	return strings.HasPrefix(strings.ToLower(p), strings.ToLower(prefix))
    }
    
    func splitList(path string) []string {
    	// The same implementation is used in LookPath in os/exec;
    	// consider changing os/exec when changing this.
    
    	if path == "" {
    		return []string{}
    	}
    
    	// Split path, respecting but preserving quotes.
    	list := []string{}
    	start := 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:50 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. src/os/dir_unix.go

    	if d == nil {
    		d = new(dirInfo)
    		f.dirinfo.Store(d)
    	}
    	d.mu.Lock()
    	defer d.mu.Unlock()
    	if d.buf == nil {
    		d.buf = dirBufPool.Get().(*[]byte)
    	}
    
    	// Change the meaning of n for the implementation below.
    	//
    	// The n above was for the public interface of "if n <= 0,
    	// Readdir returns all the FileInfo from the directory in a
    	// single slice".
    	//
    	// But below, we use only negative to mean looping until the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 20:11:45 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top