Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 275 for Implementation (0.31 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/strings/replace.go

    			}
    			i += keylen
    			last = i
    			continue
    		}
    		i++
    	}
    	if last != len(s) {
    		wn, err = sw.WriteString(s[last:])
    		n += wn
    	}
    	return
    }
    
    // singleStringReplacer is the implementation that's used when there is only
    // one string to replace (and that string has more than one byte).
    type singleStringReplacer struct {
    	finder *stringFinder
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:10:31 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/syscall_darwin.go

    }
    
    func xattrPointer(dest []byte) *byte {
    	// It's only when dest is set to NULL that the OS X implementations of
    	// getxattr() and listxattr() return the current sizes of the named attributes.
    	// An empty byte array is not sufficient. To maintain the same behaviour as the
    	// linux implementation, we wrap around the system calls and pass in NULL when
    	// dest is empty.
    	var destp *byte
    	if len(dest) > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 10 16:32:44 UTC 2023
    - 20.7K bytes
    - Viewed (0)
  9. src/go/doc/testdata/testing.go

    func (t *T) Parallel() {
    	t.signal <- (*T)(nil) // Release main testing loop
    	<-t.startParallel     // Wait for serial tests to finish
    }
    
    // An internal type but exported because it is cross-package; part of the implementation
    // of go test.
    type InternalTest struct {
    	Name string
    	F    func(*T)
    }
    
    func tRunner(t *T, test *InternalTest) {
    	t.start = time.Now()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Oct 02 02:28:27 UTC 2022
    - 11.8K bytes
    - Viewed (0)
  10. src/math/big/arith_s390x.s

    // point to same memory region, we can use a faster version of copy using only MVC here.
    // In the following implementation, we have three copy loops, each copying a word, 4 words, and
    // 32 words at a time.  Via benchmarking, this implementation is faster than calling runtime·memmove.
    copySetup:
    	ADD R12, R6
    	ADD R12, R8
    
    	CMPBGE R5, $4, mediumLoop
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 20.3K bytes
    - Viewed (0)
Back to top