Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 371 for unusual (0.22 sec)

  1. test/fixedbugs/issue24503.go

    func test() string {
    	type test struct{}
    	o1 := test{}
    	o2 := test{}
    	if &o1 == &o2 {
    		return "equal"
    	}
    	if &o1 != &o2 {
    		return "unequal"
    	}
    	return "failed"
    }
    
    func main() {
    	if test() == "failed" {
    		panic("expected either 'equal' or 'unequal'")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 31 21:37:13 UTC 2018
    - 517 bytes
    - Viewed (0)
  2. test/fixedbugs/bug1515.go

    // license that can be found in the LICENSE file.
    
    package main
    
    const (
    	joao = "João"
    	jose = "José"
    )
    
    func main() {
    	s1 := joao
    	s2 := jose
    	if (s1 < s2) != (joao < jose) {
    		panic("unequal")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 320 bytes
    - Viewed (0)
  3. pkg/kubelet/cm/topologymanager/bitmask/bitmask_test.go

    		expectedFirstNarrower bool
    	}{
    		{
    			name:                  "Check narrowness of masks with unequal bits set 1/2",
    			firstMask:             []int{0},
    			secondMask:            []int{0, 1},
    			expectedFirstNarrower: true,
    		},
    		{
    			name:                  "Check narrowness of masks with unequal bits set 2/2",
    			firstMask:             []int{0, 1},
    			secondMask:            []int{0},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 03 09:45:09 UTC 2022
    - 16.2K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/api/tasks/options/Option.java

     * equal or unequal option names.
     * </p>
     * <p>
     * When the option names are equal, the description and method linked to the option will be the one in the
     * base class (if present), followed by super-classes, and finally interfaces, in an unspecified order.
     * </p>
     * <p>
     * When the option names are unequal, the order described above is used when setting the option's value.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 10 12:45:01 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  5. test/fixedbugs/issue23188.go

    	arr := []int{1, 2}
    
    	// The spec says that in an assignment statement the operands
    	// of all index expressions and pointer indirections on the
    	// left, and the expressions on the right, are evaluated in
    	// the usual order. The usual order means function calls and
    	// channel operations are done first. Then the assignments are
    	// carried out one at a time. The operands of an index
    	// expression include both the array and the index. So this
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 10 21:30:26 UTC 2018
    - 943 bytes
    - Viewed (0)
  6. internal/crypto/doc.go

    //     Output: object_data
    //
    // ### SSE-S3 and KMS
    //
    // SSE-S3 requires that the KMS provides two functions:
    //
    //  1. Generate(KeyID) -> (Key, EncKey)
    //
    //  2. Unseal(KeyID, EncKey) -> Key
    //
    //  1. Encrypt:
    //     Input: KeyID, bucket, object, metadata, object_data
    //     -     Key, EncKey := Generate(KeyID)
    //     -              IV := Random({0,1}²⁵⁶)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Aug 26 19:52:29 UTC 2022
    - 5K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/syntax/testdata/linalg.go

    		uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~uintptr |
    		float32 | ~float64 |
    		complex64 | ~complex128
    }
    
    func DotProduct[T Numeric](s1, s2 []T) T {
    	if len(s1) != len(s2) {
    		panic("DotProduct: slices of unequal length")
    	}
    	var r T
    	for i := range s1 {
    		r += s1[i] * s2[i]
    	}
    	return r
    }
    
    // NumericAbs matches numeric types with an Abs method.
    type NumericAbs[T any] interface {
    	Numeric
    
    	Abs() T
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 30 18:02:18 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  8. src/vendor/golang.org/x/sys/cpu/cpu_wasm.go

    // license that can be found in the LICENSE file.
    
    //go:build wasm
    
    package cpu
    
    // We're compiling the cpu package for an unknown (software-abstracted) CPU.
    // Make CacheLinePad an empty struct and hope that the usual struct alignment
    // rules are good enough.
    
    const cacheLineSize = 0
    
    func initOptions() {}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 439 bytes
    - Viewed (0)
  9. pkg/util/sets/set_test.go

    		want   bool
    	}{
    		{
    			"both nil",
    			nil,
    			nil,
    			true,
    		},
    		{
    			"unequal length",
    			New("test"),
    			New("test", "test1"),
    			false,
    		},
    		{
    			"equal sets",
    			New("test", "test1"),
    			New("test", "test1"),
    			true,
    		},
    		{
    			"unequal sets",
    			New("test", "test1"),
    			New("test", "test2"),
    			false,
    		},
    	}
    	for _, tt := range tests {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 05:26:03 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  10. src/go/parser/testdata/linalg.go2

    		~uint|~uint8|~uint16|~uint32|~uint64|~uintptr|
    		~float32|~float64|
    		~complex64|~complex128
    }
    
    func DotProduct[T Numeric](s1, s2 []T) T {
    	if len(s1) != len(s2) {
    		panic("DotProduct: slices of unequal length")
    	}
    	var r T
    	for i := range s1 {
    		r += s1[i] * s2[i]
    	}
    	return r
    }
    
    // NumericAbs matches numeric types with an Abs method.
    type NumericAbs[T any] interface {
    	Numeric
    
    	Abs() T
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 15:34:22 UTC 2021
    - 2K bytes
    - Viewed (0)
Back to top