Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 623 for Implementation (0.14 sec)

  1. src/strings/compare_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package strings_test
    
    // Derived from bytes/compare_test.go.
    // Benchmarks omitted since the underlying implementation is identical.
    
    import (
    	"internal/testenv"
    	. "strings"
    	"testing"
    	"unsafe"
    )
    
    var compareTests = []struct {
    	a, b string
    	i    int
    }{
    	{"", "", 0},
    	{"a", "", 1},
    	{"", "a", -1},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 07 01:33:55 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/asm_bsd_amd64.s

    // license that can be found in the LICENSE file.
    
    //go:build (darwin || dragonfly || freebsd || netbsd || openbsd) && gc
    
    #include "textflag.h"
    
    // System call support for AMD64 BSD
    
    // Just jump to package syscall's implementation for all these functions.
    // The runtime may know about them.
    
    TEXT	·Syscall(SB),NOSPLIT,$0-56
    	JMP	syscall·Syscall(SB)
    
    TEXT	·Syscall6(SB),NOSPLIT,$0-80
    	JMP	syscall·Syscall6(SB)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 722 bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/asm_bsd_arm.s

    // license that can be found in the LICENSE file.
    
    //go:build (freebsd || netbsd || openbsd) && gc
    
    #include "textflag.h"
    
    // System call support for ARM BSD
    
    // Just jump to package syscall's implementation for all these functions.
    // The runtime may know about them.
    
    TEXT	·Syscall(SB),NOSPLIT,$0-28
    	B	syscall·Syscall(SB)
    
    TEXT	·Syscall6(SB),NOSPLIT,$0-40
    	B	syscall·Syscall6(SB)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 686 bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/asm_bsd_riscv64.s

    // license that can be found in the LICENSE file.
    
    //go:build (darwin || freebsd || netbsd || openbsd) && gc
    
    #include "textflag.h"
    
    // System call support for RISCV64 BSD
    
    // Just jump to package syscall's implementation for all these functions.
    // The runtime may know about them.
    
    TEXT	·Syscall(SB),NOSPLIT,$0-56
    	JMP	syscall·Syscall(SB)
    
    TEXT	·Syscall6(SB),NOSPLIT,$0-80
    	JMP	syscall·Syscall6(SB)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 711 bytes
    - Viewed (0)
  5. src/internal/bytealg/count_native.go

    //go:build amd64 || arm || arm64 || ppc64le || ppc64 || riscv64 || s390x
    
    package bytealg
    
    //go:noescape
    func Count(b []byte, c byte) int
    
    //go:noescape
    func CountString(s string, c byte) int
    
    // A backup implementation to use by assembly.
    func countGeneric(b []byte, c byte) int {
    	n := 0
    	for _, x := range b {
    		if x == c {
    			n++
    		}
    	}
    	return n
    }
    func countGenericString(s string, c byte) int {
    	n := 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 643 bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/asm_bsd_386.s

    // license that can be found in the LICENSE file.
    
    //go:build (freebsd || netbsd || openbsd) && gc
    
    #include "textflag.h"
    
    // System call support for 386 BSD
    
    // Just jump to package syscall's implementation for all these functions.
    // The runtime may know about them.
    
    TEXT	·Syscall(SB),NOSPLIT,$0-28
    	JMP	syscall·Syscall(SB)
    
    TEXT	·Syscall6(SB),NOSPLIT,$0-40
    	JMP	syscall·Syscall6(SB)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 696 bytes
    - Viewed (0)
  7. src/internal/fuzz/pcg.go

    	restore(randState, randInc uint64)
    }
    
    // The functions in pcg implement a 32 bit PRNG with a 64 bit period: pcg xsh rr
    // 64 32. See https://www.pcg-random.org/ for more information. This
    // implementation is geared specifically towards the needs of fuzzing: Simple
    // creation and use, no reproducibility, no concurrency safety, just the
    // necessary methods, optimized for speed.
    
    var globalInc atomic.Uint64 // PCG stream
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:28:14 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. src/math/floor.go

    // Round returns the nearest integer, rounding half away from zero.
    //
    // Special cases are:
    //
    //	Round(±0) = ±0
    //	Round(±Inf) = ±Inf
    //	Round(NaN) = NaN
    func Round(x float64) float64 {
    	// Round is a faster implementation of:
    	//
    	// func Round(x float64) float64 {
    	//   t := Trunc(x)
    	//   if Abs(x-t) >= 0.5 {
    	//     return t + Copysign(1, x)
    	//   }
    	//   return t
    	// }
    	bits := Float64bits(x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  9. src/os/types_unix.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build !windows && !plan9
    
    package os
    
    import (
    	"syscall"
    	"time"
    )
    
    // A fileStat is the implementation of FileInfo returned by Stat and Lstat.
    type fileStat struct {
    	name    string
    	size    int64
    	mode    FileMode
    	modTime time.Time
    	sys     syscall.Stat_t
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 776 bytes
    - Viewed (0)
  10. src/crypto/internal/boring/doc.go

    // Copyright 2017 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 boring provides access to BoringCrypto implementation functions.
    // Check the constant Enabled to find out whether BoringCrypto is available.
    // If BoringCrypto is not available, the functions in this package all panic.
    package boring
    
    // Enabled reports whether BoringCrypto is available.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 07 05:28:51 UTC 2023
    - 826 bytes
    - Viewed (0)
Back to top