- Sort Score
- Result 10 results
- Languages All
Results 411 - 420 of 823 for nerrors (0.08 sec)
-
android/guava/src/com/google/common/math/StatsAccumulator.java
* * <p>This is guaranteed to return zero if the dataset contains only exactly one finite value. It * is not guaranteed to return zero when the dataset consists of the same value multiple times, * due to numerical errors. However, it is guaranteed never to return a negative result. * * <h3>Non-finite values</h3> * * <p>If the dataset contains any non-finite values ({@link Double#POSITIVE_INFINITY}, {@link
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 23 16:45:30 UTC 2024 - 15.8K bytes - Viewed (0) -
internal/logger/target/http/http.go
} select { case h.logCh <- entry: h.totalMessages.Add(1) case <-ctx.Done(): // return error only for context timedout. if errors.Is(ctx.Err(), context.DeadlineExceeded) { return ctx.Err() } return nil default: h.totalMessages.Add(1) h.failedMessages.Add(1) return errors.New("log buffer full") } return nil } // Cancel - cancels the target.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Sep 11 22:20:42 UTC 2024 - 15.6K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingListener.java
* under the License. */ package org.apache.maven.model.building; /** * Defines events that the model builder fires during construction of the effective model. When a listener encounters * errors while processing the event, it can report these problems via {@link ModelBuildingEvent#getProblems()}. * Note: To cope with future extensions to this interface, it is strongly recommended to extend
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.7K bytes - Viewed (0) -
internal/grid/muxserver.go
default: gridLogIf(m.ctx, errors.New("output unblocked overflow")) } } func (m *muxServer) ping(seq uint32) pongMsg { if !m.checkSeq(seq) { msg := fmt.Sprintf("receive sequence number mismatch. want %d, got %d", m.RecvSeq, seq) return pongMsg{Err: &msg} } select { case <-m.ctx.Done(): err := context.Cause(m.ctx).Error() return pongMsg{Err: &err} default:
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 07 15:51:52 UTC 2024 - 9.7K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/endpoint_test.go
gotOut := &bytes.Buffer{} cw := &ConfigWriter{Stdout: gotOut} cd, _ := os.ReadFile("testdata/endpoint/configdump.json") cw.Prime(cd) err := cw.PrintEndpointsSummary(tt.filter) assert.NoError(t, err) wantOutputFile := path.Join("testdata/endpoint", fmt.Sprintf("%s_output.txt", tt.name)) util.CompareContent(t, gotOut.Bytes(), wantOutputFile) }) } } func TestPrintEndpoints(t *testing.T) {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Jul 12 02:25:59 UTC 2022 - 2.4K bytes - Viewed (0) -
src/bufio/scan_test.go
testNoNewline(text, lines, t) } var testError = errors.New("testError") // Test the correct error is returned when the split function errors out. func TestSplitError(t *testing.T) { // Create a split function that delivers a little data, then a predictable error. numSplits := 0 const okCount = 7 errorSplit := func(data []byte, atEOF bool) (advance int, token []byte, err error) { if atEOF { panic("didn't get enough data")
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Sep 22 16:22:42 UTC 2023 - 14.3K bytes - Viewed (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/Mojo.java
* This is the main trigger for the <code>Mojo</code> inside the <code>Maven</code> system, and allows * the <code>Mojo</code> to communicate errors. * * @throws MojoExecutionException if an unexpected problem occurs. * Throwing this exception causes a "BUILD ERROR" message to be displayed. * @throws MojoFailureException if an expected problem (such as a compilation failure) occurs.
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.9K bytes - Viewed (0) -
tests/test_filter_pydantic_sub_model/test_filter_pydantic_sub_model_pv1.py
} @needs_pydanticv1 def test_validator_is_cloned(client: TestClient): with pytest.raises(ResponseValidationError) as err: client.get("/model/modelX") assert err.value.errors() == [ { "loc": ("response", "name"), "msg": "name must end in A", "type": "value_error", } ] @needs_pydanticv1
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 4.5K bytes - Viewed (0) -
src/bufio/bufio.go
package bufio import ( "bytes" "errors" "io" "strings" "unicode/utf8" ) const ( defaultBufSize = 4096 ) var ( ErrInvalidUnreadByte = errors.New("bufio: invalid use of UnreadByte") ErrInvalidUnreadRune = errors.New("bufio: invalid use of UnreadRune") ErrBufferFull = errors.New("bufio: buffer full") ErrNegativeCount = errors.New("bufio: negative count") ) // Buffered input.
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Oct 12 14:39:08 UTC 2023 - 21.8K bytes - Viewed (0) -
cmd/xl-storage-free-version_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "errors" "testing" "time" "github.com/google/uuid" "github.com/minio/minio/internal/bucket/lifecycle" ) func (x xlMetaV2) listFreeVersions(volume, path string) ([]FileInfo, error) { fivs, err := x.ListVersions(volume, path, true) if err != nil { return nil, err } n := 0
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Mar 02 05:11:03 UTC 2024 - 7.8K bytes - Viewed (0)