Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 235 for Implementation (0.24 sec)

  1. src/hash/crc32/crc32_generic.go

    // This file contains CRC32 algorithms that are not specific to any architecture
    // and don't use hardware acceleration.
    //
    // The simple (and slow) CRC32 implementation only uses a 256*4 bytes table.
    //
    // The slicing-by-8 algorithm is a faster implementation that uses a bigger
    // table (8*256*4 bytes).
    
    package crc32
    
    import "internal/byteorder"
    
    // simpleMakeTable allocates and constructs a Table for the specified
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 22:36:41 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. src/internal/trace/testdata/testprog/futile-wakeup.go

    // it makes sure that a block on a channel send that unblocks briefly only to
    // immediately go back to sleep (in such a way that doesn't reveal any useful
    // information, and is purely an artifact of the runtime implementation) doesn't
    // make it into the trace.
    
    //go:build ignore
    
    package main
    
    import (
    	"context"
    	"log"
    	"os"
    	"runtime"
    	"runtime/trace"
    	"sync"
    )
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. src/io/fs/readdir.go

    // license that can be found in the LICENSE file.
    
    package fs
    
    import (
    	"errors"
    	"internal/bytealg"
    	"slices"
    )
    
    // ReadDirFS is the interface implemented by a file system
    // that provides an optimized implementation of [ReadDir].
    type ReadDirFS interface {
    	FS
    
    	// ReadDir reads the named directory
    	// and returns a list of directory entries sorted by filename.
    	ReadDir(name string) ([]DirEntry, error)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. src/cmd/compile/internal/types2/typeset.go

    	}
    	if hasTerms {
    		buf.WriteString(s.terms.String())
    	}
    	buf.WriteString("}")
    	return buf.String()
    }
    
    // ----------------------------------------------------------------------------
    // Implementation
    
    // hasTerms reports whether the type set has specific type terms.
    func (s *_TypeSet) hasTerms() bool { return !s.terms.isEmpty() && !s.terms.isAll() }
    
    // subsetOf reports whether s1 ⊆ s2.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  7. src/crypto/cipher/gcm.go

    	// may be overwritten.
    	Open(dst, nonce, ciphertext, additionalData []byte) ([]byte, error)
    }
    
    // gcmAble is an interface implemented by ciphers that have a specific optimized
    // implementation of GCM, like crypto/aes. NewGCM will check for this interface
    // and return the specific AEAD if found.
    type gcmAble interface {
    	NewGCM(nonceSize, tagSize int) (AEAD, error)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  8. 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)
  9. src/runtime/metrics.go

    // Copyright 2020 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package runtime
    
    // Metrics implementation exported to runtime/metrics.
    
    import (
    	"internal/godebugs"
    	"unsafe"
    )
    
    var (
    	// metrics is a map of runtime/metrics keys to data used by the runtime
    	// to sample each metric's value. metricsInit indicates it has been
    	// initialized.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 21:03:13 UTC 2024
    - 26K bytes
    - Viewed (0)
  10. src/runtime/preempt.go

    // next synchronous safe-point, the runtime poisons the goroutine's
    // stack bound to a value that will cause the next stack bound check
    // to fail and enter the stack growth implementation, which will
    // detect that it was actually a preemption and redirect to preemption
    // handling.
    //
    // Preemption at asynchronous safe-points is implemented by suspending
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 15.1K bytes
    - Viewed (0)
Back to top