Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 6,329 for gone (0.06 sec)

  1. src/errors/example_test.go

    }
    
    func oops() error {
    	return MyError{
    		time.Date(1989, 3, 15, 22, 30, 0, 0, time.UTC),
    		"the file system has gone away",
    	}
    }
    
    func Example() {
    	if err := oops(); err != nil {
    		fmt.Println(err)
    	}
    	// Output: 1989-03-15 22:30:00 +0000 UTC: the file system has gone away
    }
    
    func ExampleNew() {
    	err := errors.New("emit macho dwarf: elf header corrupted")
    	if err != nil {
    		fmt.Print(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 02:08:40 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/object_count_tracker.go

    	ObjectCountNotFoundErr = errors.New("object count not found for the given resource")
    
    	// ObjectCountStaleErr is returned when the object count for a
    	// given resource has gone stale due to transient failures.
    	ObjectCountStaleErr = errors.New("object count has gone stale for the given resource")
    )
    
    // StorageObjectCountTracker is an interface that is used to keep track of
    // of the total number of objects for each resource.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 16 09:12:00 UTC 2022
    - 5K bytes
    - Viewed (0)
  3. src/os/sys_windows.go

    		}
    		if err != syscall.ERROR_MORE_DATA {
    			return "", NewSyscallError("ComputerNameEx", err)
    		}
    
    		// If we received an ERROR_MORE_DATA, but n doesn't get larger,
    		// something has gone wrong and we may be in an infinite loop
    		if n <= uint32(len(b)) {
    			return "", NewSyscallError("ComputerNameEx", err)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 15 02:39:16 UTC 2017
    - 874 bytes
    - Viewed (0)
  4. src/vendor/golang.org/x/crypto/internal/poly1305/sum_ppc64le.go

    //go:build gc && !purego
    
    package poly1305
    
    //go:noescape
    func update(state *macState, msg []byte)
    
    // mac is a wrapper for macGeneric that redirects calls that would have gone to
    // updateGeneric to update.
    //
    // Its Write and Sum methods are otherwise identical to the macGeneric ones, but
    // using function pointers would carry a major performance cost.
    type mac struct{ macGeneric }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  5. src/cmd/go/internal/cache/cache_test.go

    	// We used c.Get(id) just now, so 5 days later it should still be kept.
    	// On the other hand almost a full day has gone by since we wrote dummyID(2)
    	// and we haven't looked at it since, so 5 days later it should be gone.
    	now += 5 * 86400
    	checkTime(fmt.Sprintf("%x-a", dummyID(2)), start)
    	if err := c.Trim(); err != nil {
    		t.Fatal(err)
    	}
    	if _, err := c.Get(id); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 25 00:49:37 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/test/integration/finalization_test.go

    			require.NoError(t, err) // Fail on unexpected error
    		}
    		gottenNoxuInstance, err = noxuResourceClient.Get(context.TODO(), name, metav1.GetOptions{})
    		require.NoError(t, err)
    	}
    
    	// Check that the object is actually gone.
    	_, err = noxuResourceClient.Get(context.TODO(), name, metav1.GetOptions{})
    	require.Error(t, err)
    	require.True(t, errors.IsNotFound(err), "%#v", err)
    }
    
    func TestFinalizationAndDeletion(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 02 19:34:41 UTC 2021
    - 5.8K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_proxy_list.txt

    go get rsc.io/quote@v1.3.0
    
    # get should return the final error if that's all we have.
    env GOPROXY=$proxy/404,$proxy/410
    ! go get rsc.io/quote@v1.4.0
    stderr 'reading.*/410/rsc.io/.*: 410 Gone'
    
    -- go.mod --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/device_compilation_profiler_test.cc

      for (int i = 0; i < kCompileThreshold + 1; ++i) {
        EXPECT_TRUE(profiler->RegisterCompilation(function, 1, false).ok());
      }
      profiler->RegisterExecution(function);
    
      // Shouldn't compile cluster since it has gone megamorphic.
      EXPECT_FALSE(
          profiler->ShouldCompileCluster(function, DeviceCompileMode::kAsync, 0));
      EXPECT_FALSE(
          profiler->ShouldCompileCluster(function, DeviceCompileMode::kLazy, 0));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Dec 22 21:06:33 UTC 2022
    - 8.7K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/test_fuzz_seed_corpus.txt

    ! go test -fuzz=FuzzWithAdd -run=None
    ! stdout ^ok
    ! stdout 'Failing input written to testdata[/\\]fuzz[/\\]FuzzWithAdd[/\\]'
    stdout FAIL
    
    # Test that fuzzing a target (with -run=None set) with a success in f.Add and a
    # fuzztime of only 1 does not produce a crash.
    go test -fuzz=FuzzWithGoodAdd -run=None -fuzztime=1x
    stdout ok
    ! stdout FAIL
    
    # Test that fuzzing a target (with -run=None set) with a failure in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 17 19:51:29 UTC 2022
    - 6.1K bytes
    - Viewed (0)
  10. src/vendor/golang.org/x/crypto/internal/poly1305/sum_amd64.go

    //go:build gc && !purego
    
    package poly1305
    
    //go:noescape
    func update(state *macState, msg []byte)
    
    // mac is a wrapper for macGeneric that redirects calls that would have gone to
    // updateGeneric to update.
    //
    // Its Write and Sum methods are otherwise identical to the macGeneric ones, but
    // using function pointers would carry a major performance cost.
    type mac struct{ macGeneric }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.1K bytes
    - Viewed (0)
Back to top