Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 362 for Implementation (0.22 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/cmd/compile/internal/types2/return.go

    		}
    		if !check.isTerminatingList(cc.Body, "") || hasBreakList(cc.Body, label, true) {
    			return false
    		}
    	}
    	return hasDefault
    }
    
    // TODO(gri) For nested breakable statements, the current implementation of hasBreak
    // will traverse the same subtree repeatedly, once for each label. Replace
    // with a single-pass label/break matching phase.
    
    // hasBreak reports if s is or contains a break statement
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  7. src/os/exec_unix.go

    		return ErrProcessDone
    	}
    	return err
    }
    
    func (p *Process) release() error {
    	// We clear the Pid field only for API compatibility. On Unix, Release
    	// has always set Pid to -1. Internally, the implementation relies
    	// solely on statusReleased to determine that the Process is released.
    	p.Pid = pidReleased
    
    	switch p.mode {
    	case modeHandle:
    		// Drop the Process' reference and mark handle unusable for
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/telemetry/internal/counter/stackcounter.go

    // requiring, at a minimum, a call to runtime.Callers.
    type StackCounter struct {
    	name  string
    	depth int
    	file  *file
    
    	mu sync.Mutex
    	// as this is a detail of the implementation, it could be replaced
    	// by a more efficient mechanism
    	stacks []stack
    }
    
    type stack struct {
    	pcs     []uintptr
    	counter *Counter
    }
    
    func NewStack(name string, depth int) *StackCounter {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:10:54 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. src/net/dnsclient_unix.go

    }
    
    // goLookupCNAME is the native Go (non-cgo) implementation of LookupCNAME.
    func (r *Resolver) goLookupCNAME(ctx context.Context, host string, order hostLookupOrder, conf *dnsConfig) (string, error) {
    	_, cname, err := r.goLookupIPCNAMEOrder(ctx, "CNAME", host, order, conf)
    	return cname.String(), err
    }
    
    // goLookupPTR is the native Go implementation of LookupAddr.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/telemetry/internal/counter/counter.go

    			c.releaseLock(state)
    			return
    		}
    	}
    }
    
    // Read reads the given counter.
    // This is the implementation of x/telemetry/counter/countertest.ReadCounter.
    func Read(c *Counter) (uint64, error) {
    	if c.file.current.Load() == nil {
    		return c.state.load().extra(), nil
    	}
    	pf, err := readFile(c.file)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top