Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 518 for numeric (0.22 sec)

  1. platforms/core-runtime/build-profile/src/main/java/org/gradle/profile/ProfileReportRenderer.java

                                    htmlWriter.endElement();
                                    htmlWriter.startElement("tr");
                                        htmlWriter.startElement("td").characters("Loading Projects").endElement();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 01 12:58:53 UTC 2023
    - 14.9K bytes
    - Viewed (0)
  2. src/internal/types/testdata/check/linalg.go

    package linalg
    
    // Numeric is type bound that matches any numeric type.
    // It would likely be in a constraints package in the standard library.
    type Numeric interface {
    	~int | ~int8 | ~int16 | ~int32 | ~int64 |
    		~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~uintptr |
    		~float32 | ~float64 |
    		~complex64 | ~complex128
    }
    
    func DotProduct[T Numeric](s1, s2 []T) T {
    	if len(s1) != len(s2) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 02:58:32 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  3. src/go/parser/testdata/linalg.go2

    package linalg
    
    import "math"
    
    // Numeric is type bound that matches any numeric type.
    // It would likely be in a constraints package in the standard library.
    type Numeric interface {
    	~int|~int8|~int16|~int32|~int64|
    		~uint|~uint8|~uint16|~uint32|~uint64|~uintptr|
    		~float32|~float64|
    		~complex64|~complex128
    }
    
    func DotProduct[T Numeric](s1, s2 []T) T {
    	if len(s1) != len(s2) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 15:34:22 UTC 2021
    - 2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/syntax/testdata/linalg.go

    package linalg
    
    import "math"
    
    // Numeric is type bound that matches any numeric type.
    // It would likely be in a constraints package in the standard library.
    type Numeric interface {
    	~int | ~int8 | ~int16 | ~int32 | ~int64 |
    		uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~uintptr |
    		float32 | ~float64 |
    		complex64 | ~complex128
    }
    
    func DotProduct[T Numeric](s1, s2 []T) T {
    	if len(s1) != len(s2) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 30 18:02:18 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  5. test/typeparam/absdiffimp2.dir/a.go

    package a
    
    import (
    	"math"
    )
    
    type Numeric interface {
    	~int | ~int8 | ~int16 | ~int32 | ~int64 |
    		~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~uintptr |
    		~float32 | ~float64 |
    		~complex64 | ~complex128
    }
    
    // numericAbs matches a struct containing a numeric type that has an Abs method.
    type numericAbs[T Numeric] interface {
    	~struct{ Value_ T }
    	Abs() T
    	Value() T
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 09 21:26:42 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  6. test/fixedbugs/issue30722.go

    package p
    
    const (
    	_ = 1_       // ERROR "'_' must separate successive digits"
    	_ = 0b       // ERROR "binary literal has no digits|invalid numeric literal"
    	_ = 0o       // ERROR "octal literal has no digits|invalid numeric literal"
    	_ = 0x       // ERROR "hexadecimal literal has no digits|invalid numeric literal"
    	_ = 0xde__ad // ERROR "'_' must separate successive digits"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 15 02:35:59 UTC 2020
    - 623 bytes
    - Viewed (0)
  7. test/typeparam/absdiffimp.dir/a.go

    // license that can be found in the LICENSE file.
    
    package a
    
    type Numeric interface {
    	~int | ~int8 | ~int16 | ~int32 | ~int64 |
    		~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~uintptr |
    		~float32 | ~float64 |
    		~complex64 | ~complex128
    }
    
    // numericAbs matches numeric types with an Abs method.
    type numericAbs[T any] interface {
    	Numeric
    	Abs() T
    }
    
    // AbsDifference computes the absolute value of the difference of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 00:11:24 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  8. test/typeparam/issue50690a.go

    package main
    
    import (
    	"fmt"
    )
    
    // Numeric expresses a type constraint satisfied by any numeric type.
    type Numeric interface {
    	~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 |
    		~int | ~int8 | ~int16 | ~int32 | ~int64 |
    		~float32 | ~float64 |
    		~complex64 | ~complex128
    }
    
    // Sum returns the sum of the provided arguments.
    func Sum[T Numeric](args ...T) T {
    	var sum T
    	for i := 0; i < len(args); i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 09 21:26:42 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/dep-man/02-declaring-dependency-versions/single_versions.adoc

    ** If both parts are numeric, the highest numeric value is **higher**: `1.1` < `1.2`
    ** If one part is numeric, it is considered **higher** than the non-numeric part: `1.a` < `1.1`
    ** If both are non-numeric, the parts are compared **alphabetically**, in a **case-sensitive** manner: `1.A` < `1.B` < `1.a` < `1.b`
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 11:46:26 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  10. src/os/proc.go

    func runtime_args() []string // in package runtime
    
    // Getuid returns the numeric user id of the caller.
    //
    // On Windows, it returns -1.
    func Getuid() int { return syscall.Getuid() }
    
    // Geteuid returns the numeric effective user id of the caller.
    //
    // On Windows, it returns -1.
    func Geteuid() int { return syscall.Geteuid() }
    
    // Getgid returns the numeric group id of the caller.
    //
    // On Windows, it returns -1.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top