Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 283 for Implementation (0.15 sec)

  1. 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)
  2. 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)
  3. doc/go_mem.html

    there are limitations to what a Go implementation can do in response to a data race.
    An implementation may always react to a data race by reporting the race and terminating the program.
    Otherwise, each read of a single-word-sized or sub-word-sized memory location
    must observe a value actually written to that location (perhaps by a concurrent executing goroutine)
    and not yet overwritten.
    These implementation constraints make Go more like Java or JavaScript,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 15:54:42 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/syscall_freebsd.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 unix
    
    import (
    	"errors"
    	"sync"
    	"unsafe"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  5. src/net/http/fs.go

    // ending in "/index.html" to the same path, without the final
    // "index.html".
    //
    // To use the operating system's file system implementation,
    // use [http.Dir]:
    //
    //	http.Handle("/", http.FileServer(http.Dir("/tmp")))
    //
    // To use an [fs.FS] implementation, use [http.FileServerFS] instead.
    func FileServer(root FileSystem) Handler {
    	return &fileHandler{root}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 17:06:47 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  6. src/go/types/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.7K bytes
    - Viewed (0)
  7. src/runtime/stubs.go

    // pointer-sized portion is cleared atomically. Despite the function
    // name, this is necessary because this function is the underlying
    // implementation of typedmemclr and memclrHasPointers. See the doc of
    // memmove for more details.
    //
    // The (CPU-specific) implementations of this function are in memclr_*.s.
    //
    // memclrNoHeapPointers should be an internal detail,
    // but widely used packages access it using linkname.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  8. src/crypto/elliptic/elliptic_test.go

    	"math/big"
    	"testing"
    )
    
    // genericParamsForCurve returns the dereferenced CurveParams for
    // the specified curve. This is used to avoid the logic for
    // upgrading a curve to its specific implementation, forcing
    // usage of the generic implementation.
    func genericParamsForCurve(c Curve) *CurveParams {
    	d := *(c.Params())
    	return &d
    }
    
    func testAllCurves(t *testing.T, f func(*testing.T, Curve)) {
    	tests := []struct {
    		name  string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 27 02:00:03 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  9. src/runtime/os_darwin.go

    }
    
    // The read and write file descriptors used by the sigNote functions.
    var sigNoteRead, sigNoteWrite int32
    
    // sigNoteSetup initializes a single, there-can-only-be-one, async-signal-safe note.
    //
    // The current implementation of notes on Darwin is not async-signal-safe,
    // because the functions pthread_mutex_lock, pthread_cond_signal, and
    // pthread_mutex_unlock, called by semawakeup, are not async-signal-safe.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  10. src/image/draw/draw_test.go

    				golden := makeGolden(dst, b, src, src.Bounds().Min, nil, image.Point{}, op)
    				if !b.Eq(golden.Bounds()) {
    					t.Errorf("drawOverlap xoff=%d,yoff=%d: bounds %v versus %v", xoff, yoff, dst.Bounds(), golden.Bounds())
    					continue
    				}
    				// Draw the same combination onto the actual dst using the optimized DrawMask implementation.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 18:07:05 UTC 2023
    - 26K bytes
    - Viewed (0)
Back to top