Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 291 for Implementation (0.4 sec)

  1. src/runtime/memclr_386.s

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build !plan9
    
    #include "go_asm.h"
    #include "textflag.h"
    
    // See memclrNoHeapPointers Go doc for important implementation constraints.
    
    // func memclrNoHeapPointers(ptr unsafe.Pointer, n uintptr)
    TEXT runtime·memclrNoHeapPointers(SB), NOSPLIT, $0-8
    	MOVL	ptr+0(FP), DI
    	MOVL	n+4(FP), BX
    	XORL	AX, AX
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 06 10:24:44 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  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. src/vendor/golang.org/x/crypto/chacha20poly1305/xchacha20poly1305.go

    		panic("chacha20poly1305: bad nonce length passed to Seal")
    	}
    
    	// XChaCha20-Poly1305 technically supports a 64-bit counter, so there is no
    	// size limit. However, since we reuse the ChaCha20-Poly1305 implementation,
    	// the second half of the counter is not available. This is unlikely to be
    	// an issue because the cipher.AEAD API requires the entire message to be in
    	// memory, and the counter overflows at 256 GB.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 09 20:10:44 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/fuse_branchredirect.go

    //
    //	p:
    //	  v11 = Less64 <bool> v10 v8
    //	  If v11 goto b else u
    //	b: <- p ...
    //	  v17 = Leq64 <bool> v10 v8
    //	  If v17 goto s else o
    //
    // We can redirect p to s directly.
    //
    // The implementation here borrows the framework of the prove pass.
    //
    //	1, Traverse all blocks of function f to find If blocks.
    //	2,   For any If block b, traverse all its predecessors to find If blocks.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 16 21:40:11 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  7. 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)
  8. src/crypto/tls/cache.go

    // to the certificate in the cache is decremented. Once the number of references
    // reaches zero, the entry is evicted from the cache.
    //
    // The main difference between this implementation and CRYPTO_BUFFER_POOL is that
    // CRYPTO_BUFFER_POOL is a more  generic structure which supports blobs of data,
    // rather than specific structures. Since we only care about x509.Certificates,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 23:56:41 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  9. src/math/trig_reduce.go

    const reduceThreshold = 1 << 29
    
    // trigReduce implements Payne-Hanek range reduction by Pi/4
    // for x > 0. It returns the integer part mod 8 (j) and
    // the fractional part (z) of x / (Pi/4).
    // The implementation is based on:
    // "ARGUMENT REDUCTION FOR HUGE ARGUMENTS: Good to the Last Bit"
    // K. C. Ng et al, March 24, 1992
    // The simulated multi-precision calculation of x*B uses 64-bit integer arithmetic.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  10. src/crypto/internal/boring/LICENSE

     */
    
     Original SSLeay License
     -----------------------
    
    /* Copyright (C) 1995-1998 Eric Young (******@****.***)
     * All rights reserved.
     *
     * This package is an SSL implementation written
     * by Eric Young (******@****.***).
     * The implementation was written so as to conform with Netscapes SSL.
     *
     * This library is free for commercial and non-commercial use as long as
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 26 22:52:27 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top