Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,316 for nfail (0.04 sec)

  1. test/rotate.go

    	nui8 = ^ui8
    	nui16 = ^ui16
    	nui32 = ^ui32
    	nui64 = ^ui64
    )
    
    var nfail = 0
    
    func main() {
    	if nfail > 0 {
    		fmt.Printf("BUG\n")
    	}
    }
    
    `
    
    const checkFunc = `
    func check_XXX(desc string, have, want XXX) {
    	if have != want {
    		nfail++
    		fmt.Printf("%s = %T(%#x), want %T(%#x)\n", desc, have, have, want, want)
    		if nfail >= 100 {
    			fmt.Printf("BUG: stopping after 100 failures\n")
    			os.Exit(0)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 3.3K bytes
    - Viewed (0)
  2. src/regexp/exec_test.go

    					if nfail++; nfail >= 100 {
    						t.Fatalf("stopping after %d errors", nfail)
    					}
    					continue
    				}
    				b, suffix := match[i](re, refull, text)
    				if b != (want != nil) {
    					t.Errorf("%s:%d: %#q%s.MatchString(%#q) = %v, want %v", file, lineno, re, suffix, text, b, !b)
    					if nfail++; nfail >= 100 {
    						t.Fatalf("stopping after %d errors", nfail)
    					}
    					continue
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:36:03 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/test_timeout_stdin.txt

    	# exit due to a failed write to that pipe.
    
    stdout '^--- PASS: TestOrphanCmd .*\nPASS\nstdin closed'
    stdout '^\*\*\* Test I/O incomplete \d+.* after exiting\.\nexec: WaitDelay expired before I/O complete\nFAIL\s+example\s+\d+(\.\d+)?s'
    
    -- go.mod --
    module example
    
    go 1.20
    -- main_test.go --
    package main
    
    import (
    	"fmt"
    	"io"
    	"os"
    	"os/exec"
    	"testing"
    	"time"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 02 20:23:27 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  4. src/encoding/json/encode_test.go

    }
    
    func TestMarshalFloat(t *testing.T) {
    	t.Parallel()
    	nfail := 0
    	test := func(f float64, bits int) {
    		vf := any(f)
    		if bits == 32 {
    			f = float64(float32(f)) // round
    			vf = float32(f)
    		}
    		bout, err := Marshal(vf)
    		if err != nil {
    			t.Errorf("Marshal(%T(%g)) error: %v", vf, vf, err)
    			nfail++
    			return
    		}
    		out := string(bout)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  5. test/nosplit.go

    			}
    		} else {
    			nfail++
    			if !reject {
    				bug()
    				fmt.Printf("rejected incorrectly:\n\t%s\n", indent(strings.TrimSpace(stanza)))
    				fmt.Printf("\n\tlinker output:\n\t%s\n", indent(string(output)))
    			}
    		}
    	}
    
    	if !bugged && (nok == 0 || nfail == 0) {
    		bug()
    		fmt.Printf("not enough test cases run\n")
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  6. hack/boilerplate/test/fail.go

    /*
    Copyright 2014 The Kubernetes Authors.
    
    fail
    
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
    
        http://www.apache.org/licenses/LICENSE-2.0
    
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 03 01:32:50 UTC 2017
    - 590 bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/configurationCache/problemsKotlin/tests/fail.out

    Laura Kassovic <******@****.***> 1701107622 -0800
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 845 bytes
    - Viewed (0)
  8. releasenotes/notes/wasm-fail-open.yaml

    apiVersion: release-notes/v2
    kind: feature
    area: extensibility
    issue: []
    releaseNotes:
      - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 02 21:32:02 UTC 2023
    - 169 bytes
    - Viewed (0)
  9. test/interface/fail.go

    Chris Manghane <******@****.***> 1413392113 -0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 15 16:55:13 UTC 2014
    - 544 bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/configurationCache/problemsGroovy/tests/fail.out

    Laura Kassovic <******@****.***> 1701107622 -0800
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 825 bytes
    - Viewed (0)
Back to top