Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 103 for wantNG (0.29 sec)

  1. src/iter/pull_test.go

    				wantNG(1)
    			}
    			wantNG(1)
    			if end < 3 {
    				stop()
    				wantNG(0)
    			}
    			for range 2 {
    				k, v, ok := next()
    				if v != 0 || ok != false {
    					t.Fatalf("next() = %d, %d, %v, want %d, %d, %v", k, v, ok, 0, 0, false)
    				}
    				wantNG(0)
    			}
    			wantNG(0)
    
    			stop()
    			stop()
    			stop()
    			wantNG(0)
    		})
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:09:28 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. src/encoding/binary/binary_test.go

    		Read(r, BigEndian, &ls.Float64)
    	}
    	b.StopTimer()
    	want := s
    	want.Int8 = 0
    	want.Int16 = 0
    	want.Int32 = 0
    	want.Int64 = 0
    	want.Uint8 = 0
    	want.Uint16 = 0
    	want.Uint32 = 0
    	want.Uint64 = 0
    	want.Complex64 = 0
    	want.Complex128 = 0
    	want.Array = [4]uint8{0, 0, 0, 0}
    	want.Bool = false
    	want.BoolArray = [4]bool{false, false, false, false}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 19:16:18 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  3. src/internal/coverage/cfile/emitdata_test.go

    				mfc++
    			} else if strings.HasPrefix(e.Name(), coverage.CounterFilePref) {
    				cdc++
    			}
    		}
    		wantmf := 1
    		wantcf := 1
    		if mfc != wantmf {
    			t.Errorf("EmitToDir: want %d meta-data files, got %d\n", wantmf, mfc)
    		}
    		if cdc != wantcf {
    			t.Errorf("EmitToDir: want %d counter-data files, got %d\n", wantcf, cdc)
    		}
    		upmergeCoverData(t, edir, "atomic")
    		upmergeCoverData(t, rdir, "atomic")
    	})
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  4. src/cmd/covdata/tool_test.go

    	}
    	lines = strings.Split(string(payload), "\n")
    	want0 := "mode: set"
    	if lines[0] != want0 {
    		dumplines(lines[0:10])
    		t.Errorf("textfmt: want %s got %s", want0, lines[0])
    	}
    	want1 := mainPkgPath + "/prog1.go:13.14,15.2 1 1"
    	if lines[1] != want1 {
    		dumplines(lines[0:10])
    		t.Errorf("textfmt: want %s got %s", want1, lines[1])
    	}
    }
    
    func dumplines(lines []string) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 20:46:32 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  5. src/internal/trace/trace_test.go

    				case trace.EventLog:
    					log := ev.Log()
    					match = log.Task == wantEv.task && log.Category == wantEv.args[0] && log.Message == wantEv.args[1]
    				}
    				if match {
    					want[i] = want[len(want)-1]
    					want = want[:len(want)-1]
    					break
    				}
    			}
    		}
    		if len(want) != 0 {
    			for _, ev := range want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  6. src/cmd/link/internal/loader/loader_test.go

    	if ldr.OuterSym(es1) != 0 {
    		t.Errorf("ldr.OuterSym(es1) got %d wanted %d", ldr.OuterSym(es1), 0)
    	}
    	if ldr.OuterSym(es2) != es1 {
    		t.Errorf("ldr.OuterSym(es2) got %d wanted %d", ldr.OuterSym(es2), es1)
    	}
    	if ldr.SubSym(es1) != es2 {
    		t.Errorf("ldr.SubSym(es1) got %d wanted %d", ldr.SubSym(es1), es2)
    	}
    	if ldr.SubSym(es2) != 0 {
    		t.Errorf("ldr.SubSym(es2) got %d wanted %d", ldr.SubSym(es2), 0)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 19:08:09 UTC 2024
    - 12K bytes
    - Viewed (0)
  7. pilot/pkg/credentials/kube/secrets_test.go

    				t.Errorf("got key %q, wanted %q", string(actualKey), tt.key)
    			}
    			if tt.cert != string(actualCert) {
    				t.Errorf("got cert %q, wanted %q", string(actualCert), tt.cert)
    			}
    			if tt.staple != string(actualStaple) {
    				t.Errorf("got staple %q, wanted %q", string(actualStaple), tt.staple)
    			}
    			if tt.crl != string(actualCrl) {
    				t.Errorf("got crl %q, wanted %q", string(actualCrl), tt.crl)
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 19:18:21 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  8. pkg/config/validation/agent/validation_test.go

    			if err == nil && tt.out != "" {
    				t.Fatalf("ValidateWildcardDomain(%v) = nil, wanted %q", tt.in, tt.out)
    			} else if err != nil && tt.out == "" {
    				t.Fatalf("ValidateWildcardDomain(%v) = %v, wanted nil", tt.in, err)
    			} else if err != nil && !strings.Contains(err.Error(), tt.out) {
    				t.Fatalf("ValidateWildcardDomain(%v) = %v, wanted %q", tt.in, err, tt.out)
    			}
    		})
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  9. pkg/registry/flowcontrol/ensurer/prioritylevelconfiguration_test.go

    			current:       nil,
    		},
    		{
    			name:           "priority level configuration not wanted, auto update is enabled",
    			bootstrapName:  "pl0",
    			current:        newPLConfiguration("pl1").WithAutoUpdateAnnotation("true").Object(),
    			removeExpected: true,
    		},
    		{
    			name:           "priority level configuration not wanted, auto update is disabled",
    			bootstrapName:  "pl0",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 14:34:53 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  10. src/internal/trace/summary_test.go

    			}
    		}
    
    		// Check logs.
    		if len(want.logs) != len(summary.Logs) {
    			t.Errorf("wanted %d logs for task %d, got %d logs instead", len(want.logs), id, len(summary.Logs))
    		} else {
    			for i := range want.logs {
    				if want.logs[i] != summary.Logs[i].Log() {
    					t.Errorf("log mismatch: want %#v, got %#v", want.logs[i], summary.Logs[i].Log())
    				}
    			}
    		}
    
    		// Check goroutines.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top