Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 213 for case1 (0.05 sec)

  1. src/net/dnsclient_unix_test.go

    					},
    				},
    			}
    
    			switch q.Questions[0].Type {
    			case dnsmessage.TypeA:
    				r.Answers[0].Body = &dnsmessage.AResource{A: TestAddr}
    			case dnsmessage.TypeAAAA:
    				r.Answers[0].Body = &dnsmessage.AAAAResource{AAAA: TestAddr6}
    			case dnsmessage.TypeTXT:
    				r.Answers[0].Body = &dnsmessage.TXTResource{TXT: []string{"."}}
    			case dnsmessage.TypeMX:
    				r.Answers[0].Body = &dnsmessage.MXResource{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  2. src/strings/strings_test.go

    func TestTrim(t *testing.T) {
    	for _, tc := range trimTests {
    		name := tc.f
    		var f func(string, string) string
    		switch name {
    		case "Trim":
    			f = Trim
    		case "TrimLeft":
    			f = TrimLeft
    		case "TrimRight":
    			f = TrimRight
    		case "TrimPrefix":
    			f = TrimPrefix
    		case "TrimSuffix":
    			f = TrimSuffix
    		default:
    			t.Errorf("Undefined trim function %s", name)
    		}
    		actual := f(tc.in, tc.arg)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 53K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/jvm/java_testing.adoc

    The `outputPerTestCase` option, when enabled, associates any output logging generated during a test case to that test case in the results.
    When disabled (the default) output is associated with the test class as whole and not the individual test cases (e.g. test methods) that produced the logging output.
    Most modern tools that observe JUnit XML files support the “output per test case” format.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 16:24:12 UTC 2024
    - 53.1K bytes
    - Viewed (0)
  4. src/time/time.go

    		}
    	}
    
    	switch {
    	// Special case: 2d divides 1 second.
    	case d < Second && Second%(d+d) == 0:
    		qmod2 = int(nsec/int32(d)) & 1
    		r = Duration(nsec % int32(d))
    
    	// Special case: d is a multiple of 1 second.
    	case d%Second == 0:
    		d1 := int64(d / Second)
    		qmod2 = int(sec/d1) & 1
    		r = Duration(sec%d1)*Second + Duration(nsec)
    
    	// General case.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 50.7K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ppc64/asm.go

    //
    // Go only needs case 1 and 3 today. Go symbols which have AttrShare set could use case 2, but case 1 always
    // works in those cases too.
    func gencallstub(ctxt *ld.Link, ldr *loader.Loader, stubType int, stub *loader.SymbolBuilder, targ loader.Sym) {
    	plt := ctxt.PLT
    	stub.SetType(sym.STEXT)
    
    	switch stubType {
    	case 1:
    		// Save TOC, then load targ address from PLT using TOC.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 20:54:08 UTC 2024
    - 63.7K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/rewrite.go

    	case OpARM64GreaterEqualU:
    		return OpARM64LessThanU
    	case OpARM64Equal:
    		return OpARM64NotEqual
    	case OpARM64NotEqual:
    		return OpARM64Equal
    	case OpARM64LessThanF:
    		return OpARM64NotLessThanF
    	case OpARM64NotLessThanF:
    		return OpARM64LessThanF
    	case OpARM64LessEqualF:
    		return OpARM64NotLessEqualF
    	case OpARM64NotLessEqualF:
    		return OpARM64LessEqualF
    	case OpARM64GreaterThanF:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  7. cmd/object-api-multipart_test.go

    		},
    		{bucketName: "a", objName: "obj", PartID: 1, expectedError: fmt.Errorf("%s", "Bucket name invalid: a")},
    		// Test case - 5.
    		// Case with invalid object names.
    		{bucketName: bucket, PartID: 1, expectedError: fmt.Errorf("%s", "Object name invalid: minio-bucket/")},
    		// Test case - 6.
    		// Valid object and bucket names but non-existent bucket.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 77.1K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/loong64/asm.go

    	case ASUBU, ANEGW:
    		return 0x22 << 15
    	case ANOR:
    		return 0x28 << 15
    	case ASLL:
    		return 0x2e << 15
    	case ASRL:
    		return 0x2f << 15
    	case ASRA:
    		return 0x30 << 15
    	case AROTR:
    		return 0x36 << 15
    	case ASLLV:
    		return 0x31 << 15
    	case ASRLV:
    		return 0x32 << 15
    	case ASRAV:
    		return 0x33 << 15
    	case AROTRV:
    		return 0x37 << 15
    	case AADDV:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 61.8K bytes
    - Viewed (0)
  9. src/cmd/internal/testdir/testdir_test.go

    	case "skip":
    		if *runSkips {
    			break
    		}
    		t.Skip("skip")
    	default:
    		t.Fatalf("unknown pattern: %q", action)
    	}
    
    	goexp := goExperiment
    	godebug := goDebug
    
    	// collect flags
    	for len(args) > 0 && strings.HasPrefix(args[0], "-") {
    		switch args[0] {
    		case "-1":
    			wantError = true
    		case "-0":
    			wantError = false
    		case "-s":
    			singlefilepkgs = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  10. src/cmd/vendor/github.com/ianlancetaylor/demangle/demangle.go

    				addSubst = false
    			}
    		}
    	case 'O', 'P', 'R', 'C', 'G':
    		st.advance(1)
    		t := st.demangleType(isCast)
    		switch c {
    		case 'O':
    			ret = &RvalueReferenceType{Base: t}
    		case 'P':
    			ret = &PointerType{Base: t}
    		case 'R':
    			ret = &ReferenceType{Base: t}
    		case 'C':
    			ret = &ComplexType{Base: t}
    		case 'G':
    			ret = &ImaginaryType{Base: t}
    		}
    	case 'U':
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 94.1K bytes
    - Viewed (0)
Back to top