Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of about 10,000 for found$ (0.13 sec)

  1. src/slices/sort_test.go

    		t.Run(tt.target, func(t *testing.T) {
    			{
    				pos, found := BinarySearch(tt.data, tt.target)
    				if pos != tt.wantPos || found != tt.wantFound {
    					t.Errorf("BinarySearch got (%v, %v), want (%v, %v)", pos, found, tt.wantPos, tt.wantFound)
    				}
    			}
    
    			{
    				pos, found := BinarySearchFunc(tt.data, tt.target, strings.Compare)
    				if pos != tt.wantPos || found != tt.wantFound {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 19:20:55 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/branchelim_test.go

    					t.Fatalf("expected 1 block after branchelim and deadcode; found %d", len(fun.f.Blocks))
    				}
    				if fun.values["phi"].Op != OpCondSelect {
    					t.Fatalf("expected phi op to be CondSelect; found op %s", fun.values["phi"].Op)
    				}
    				if fun.values["phi"].Args[2] != fun.values["cond"] {
    					t.Errorf("expected CondSelect condition to be %s; found %s", fun.values["cond"], fun.values["phi"].Args[2])
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 24 15:51:15 UTC 2018
    - 5.2K bytes
    - Viewed (0)
  3. pilot/pkg/credentials/kube/secrets_test.go

    		},
    		{
    			name:            "generic",
    			namespace:       "wrong-namespace",
    			expectedError:   `secret wrong-namespace/generic not found`,
    			expectedCAError: `secret wrong-namespace/generic not found`,
    		},
    		{
    			name:            "empty-cert",
    			namespace:       "default",
    			expectedError:   `found keys "tls.crt" and "tls.key", but they were empty`,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 19:18:21 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/metaobject/MixInClosurePropertiesAsMethodsDynamicObjectTest.groovy

            1 * obj2.tryGetProperty("m") >> DynamicInvokeResult.found({ it -> "result" })
            0 * _
        }
    
        def "fails when first closure property does not accept the given parameters"() {
            def obj1 = Mock(DynamicObject)
            obj.setObjects(obj1)
    
            given:
            obj1.tryGetProperty("m") >> DynamicInvokeResult.found({ Number a -> "result 3" })
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  5. src/internal/bytealg/indexbyte_ppc64x.s

    	VCMPEQUBCC	V2,V1,V6
    	BNE	CR6,foundat0	// Match found at R8, jump out
    
    	LXVD2X	(R11)(R8),V2
    	VCMPEQUBCC	V2,V1,V6
    	BNE	CR6,foundat1	// Match found at R8+16 bytes, jump out
    
    	LXVD2X	(R12)(R8),V2
    	VCMPEQUBCC	V2,V1,V6
    	BNE	CR6,foundat2	// Match found at R8+32 bytes, jump out
    
    	LXVD2X	(R6)(R8),V2
    	VCMPEQUBCC	V2,V1,V6
    	BNE	CR6,foundat3	// Match found at R8+48 bytes, jump out
    
    	ADD	$64,R8
    	CMPU	R8,R9,CR1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 16:10:29 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  6. cmd/xl-storage-meta-inline.go

    	for i := uint32(0); i < sz; i++ {
    		var found, foundVal []byte
    		var err error
    		found, buf, err = msgp.ReadMapKeyZC(buf)
    		if err != nil {
    			break
    		}
    		foundVal, buf, err = msgp.ReadBytesZC(buf)
    		if err != nil {
    			break
    		}
    		plSize += len(found) + msgp.StringPrefixSize + msgp.ArrayHeaderSize
    		keys = append(keys, found)
    		if string(found) == key {
    			vals = append(vals, value)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  7. src/internal/poll/fd_windows_test.go

    }
    
    func findLoggedFD(h syscall.Handle) (lfd *loggedFD, found bool) {
    	logMu.Lock()
    	defer logMu.Unlock()
    
    	lfd, found = loggedFDs[h]
    	return lfd, found
    }
    
    // checkFileIsNotPartOfNetpoll verifies that f is not managed by netpoll.
    // It returns error, if check fails.
    func checkFileIsNotPartOfNetpoll(f *os.File) error {
    	lfd, found := findLoggedFD(syscall.Handle(f.Fd()))
    	if !found {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 14 08:33:36 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. pkg/kubelet/prober/results/results_manager_test.go

    	_, found := m.Get(unsetID)
    	assert.False(t, found, "unset result found")
    
    	m.Set(setID, Success, &corev1.Pod{})
    	result, found := m.Get(setID)
    	assert.True(t, result == Success, "set result")
    	assert.True(t, found, "set result found")
    
    	m.Remove(setID)
    	_, found = m.Get(setID)
    	assert.False(t, found, "removed result found")
    }
    
    func TestUpdates(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 02 10:55:41 UTC 2023
    - 4K bytes
    - Viewed (0)
  9. src/math/big/calibrate_test.go

    	maxSqr := computeSqrThreshold(200, 500, 10, 3, sqrModeBasic, sqrModeKaratsuba)
    	if minSqr != 0 {
    		fmt.Printf("found basicSqrThreshold = %d\n", minSqr)
    	} else {
    		fmt.Println("no basicSqrThreshold found")
    	}
    	if maxSqr != 0 {
    		fmt.Printf("found karatsubaSqrThreshold = %d\n", maxSqr)
    	} else {
    		fmt.Println("no karatsubaSqrThreshold found")
    	}
    }
    
    func karatsubaLoad(b *testing.B) {
    	BenchmarkMul(b)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  10. src/internal/bytealg/index_arm64.s

    	MOVD.P	1(R0), R6
    	CMP	R5, R6
    	BNE	loop_8
    	B	found
    len_2_7:
    	TBZ	$2, R3, len_2_3
    	TBZ	$1, R3, len_4_5
    	TBZ	$0, R3, len_6
    len_7:
    	// R5 and R6 contain 7-byte of sep
    	MOVWU	(R2), R5
    	// 1-byte overlap with R5
    	MOVWU	3(R2), R6
    loop_7:
    	CMP	R4, R0
    	BHI	not_found
    	MOVWU.P	1(R0), R3
    	CMP	R5, R3
    	BNE	loop_7
    	MOVWU	2(R0), R3
    	CMP	R6, R3
    	BNE	loop_7
    	B	found
    len_6:
    	// R5 and R6 contain 6-byte of sep
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 23 15:54:07 UTC 2018
    - 3.9K bytes
    - Viewed (0)
Back to top