Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 92 for geterror (0.13 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ExecutionResult.java

         *
         * <p>You should avoid using this method as it couples the tests to a particular layout for the console. Instead use the more descriptive assertion methods.</p>
         */
        String getError();
    
        /**
         * Retrieves the first output line that contains the passed in text.
         *
         * Fails with an assertion if no output line contains the given text.
         *
         * @param text the text to match
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  2. pkg/filewatcher/fakefilewatcher_test.go

    			t.Fatalf("Events() failed: got %v want %v", gotEvent, wantEvent)
    		}
    
    		wantError := fmt.Errorf("error=%v", file)
    		fakeWatcher.InjectError(file, wantError)
    		gotError := <-watcher.Errors(file)
    		if gotError != wantError {
    			t.Fatalf("Errors() failed: got %v want %v", gotError, wantError)
    		}
    
    		if err := watcher.Remove(file); err != nil {
    			t.Fatalf("Remove() returned error: %v", err)
    		}
    		gotRemove := <-removedChan
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 24 14:06:41 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  3. test/fixedbugs/issue11674.go

    // zero
    
    package p
    
    const x complex64 = 0
    const y complex128 = 0
    
    var _ = x / 1e-20
    var _ = x / 1e-50   // GC_ERROR "division by zero"
    var _ = x / 1e-1000 // GC_ERROR "division by zero"
    var _ = x / 1e-20i
    var _ = x / 1e-50i   // GC_ERROR "division by zero"
    var _ = x / 1e-1000i // GC_ERROR "division by zero"
    
    var _ = x / 1e-45 // smallest positive float32
    
    var _ = x / (1e-20 + 1e-20i)
    var _ = x / (1e-50 + 1e-20i)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 22 17:50:13 UTC 2020
    - 1.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/util/WebApiUtil.java

        }
    
        public static void setError(final int statusCode, final String message) {
            LaRequestUtil.getOptionalRequest().ifPresent(req -> req.setAttribute(WEB_API_EXCEPTION, new WebApiException(statusCode, message)));
        }
    
        public static void setError(final int statusCode, final Exception e) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/cpumanager/policy_options_test.go

    			policyOpt, _ := NewStaticPolicyOptions(testCase.policyOption)
    			err := ValidateStaticPolicyOptions(policyOpt, testCase.topology, topoMgrStore)
    			gotError := (err != nil)
    			if gotError != testCase.expectedErr {
    				t.Errorf("testCase %q failed, got %v expected %v", testCase.description, gotError, testCase.expectedErr)
    			}
    		})
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. maven-model-builder/src/test/java/org/apache/maven/model/profile/DefaultProfileSelectorTest.java

            List<Profile> active = selector.getActiveProfiles(profiles, context, problems);
            assertTrue(active.isEmpty());
            assertEquals(1, problems.getErrors().size());
            assertEquals(
                    "Failed to determine activation for profile one: BOOM",
                    problems.getErrors().get(0));
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Jun 06 16:51:39 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. test/fixedbugs/issue22200b.go

    package p
    
    func f3(x *[1 << 31]byte) byte { // GC_ERROR "stack frame too large"
    	for _, b := range *x {
    		return b
    	}
    	return 0
    }
    func f4(x *[1 << 32]byte) byte { // GC_ERROR "stack frame too large"
    	for _, b := range *x {
    		return b
    	}
    	return 0
    }
    func f5(x *[1 << 33]byte) byte { // GC_ERROR "stack frame too large"
    	for _, b := range *x {
    		return b
    	}
    	return 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 601 bytes
    - Viewed (0)
  8. src/encoding/gob/encoder.go

    func (enc *Encoder) pushWriter(w io.Writer) {
    	enc.w = append(enc.w, w)
    }
    
    // popWriter pops the innermost writer.
    func (enc *Encoder) popWriter() {
    	enc.w = enc.w[0 : len(enc.w)-1]
    }
    
    func (enc *Encoder) setError(err error) {
    	if enc.err == nil { // remember the first.
    		enc.err = err
    	}
    }
    
    // writeMessage sends the data item preceded by an unsigned count of its length.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  9. test/fixedbugs/bug195.go

    type I2 int
    
    type I3 interface{ int } // ERROR "interface"
    
    type S struct { // GC_ERROR "invalid recursive type"
    	x interface{ S } // GCCGO_ERROR "interface"
    }
    type I4 interface { // GC_ERROR "invalid recursive type: I4 refers to itself"
    	I4 // GCCGO_ERROR "interface"
    }
    
    type I5 interface { // GC_ERROR "invalid recursive type I5\n\tLINE:.* I5 refers to\n\tLINE+4:.* I6 refers to\n\tLINE:.* I5$"
    	I6
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 29 14:21:33 UTC 2022
    - 704 bytes
    - Viewed (0)
  10. test/fixedbugs/issue25507.go

    // >1GB to trigger failure, <2GB to work on 32-bit platforms.
    type large struct {
    	b [1500000000]byte
    }
    
    func (x large) f1() int { // GC_ERROR "stack frame too large"
    	return 5
    }
    
    func f2(x large) int { // GC_ERROR "stack frame too large"
    	return 5
    }
    
    func f3() (x large, i int) { // GC_ERROR "stack frame too large"
    	return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 14 17:37:52 UTC 2020
    - 754 bytes
    - Viewed (0)
Back to top