Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 498 for Implementation (0.31 sec)

  1. src/reflect/makefunc.go

    // Copyright 2012 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.
    
    // MakeFunc implementation.
    
    package reflect
    
    import (
    	"internal/abi"
    	"unsafe"
    )
    
    // makeFuncImpl is the closure value implementing the function
    // returned by MakeFunc.
    // The first three words of this type must be kept in sync with
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:20:05 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. 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)
  3. src/runtime/mwbbuf.go

    	return p
    }
    
    // wbBufFlush flushes the current P's write barrier buffer to the GC
    // workbufs.
    //
    // This must not have write barriers because it is part of the write
    // barrier implementation.
    //
    // This and everything it calls must be nosplit because 1) the stack
    // contains untyped slots from gcWriteBarrier and 2) there must not be
    // a GC safe point between the write barrier test in the caller and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  4. src/errors/errors.go

    // Each call to New returns a distinct error value even if the text is identical.
    func New(text string) error {
    	return &errorString{text}
    }
    
    // errorString is a trivial implementation of error.
    type errorString struct {
    	s string
    }
    
    func (e *errorString) Error() string {
    	return e.s
    }
    
    // ErrUnsupported indicates that a requested operation cannot be performed,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 19:45:41 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  5. 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)
  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/ctr.go

    type ctr struct {
    	b       Block
    	ctr     []byte
    	out     []byte
    	outUsed int
    }
    
    const streamBufferSize = 512
    
    // ctrAble is an interface implemented by ciphers that have a specific optimized
    // implementation of CTR, like crypto/aes. NewCTR will check for this interface
    // and return the specific Stream if found.
    type ctrAble interface {
    	NewCTR(iv []byte) Stream
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 2.2K 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/syscall/syscall_dragonfly.go

    // but it is also input to mksyscall,
    // which parses the //sys lines and generates system call stubs.
    // Note that sometimes we use a lowercase //sys name and wrap
    // it in our own nicer implementation, either here or in
    // syscall_bsd.go or syscall_unix.go.
    
    package syscall
    
    import (
    	"sync"
    	"unsafe"
    )
    
    func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 18:12:35 UTC 2023
    - 8.5K bytes
    - Viewed (0)
Back to top