- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 1,425 for Func (0.06 sec)
-
tensorflow/c/c_api_function.cc
description, status); } const char* TF_FunctionName(TF_Function* func) { return func->record->fdef().signature().name().c_str(); } void TF_GraphCopyFunction(TF_Graph* g, const TF_Function* func, const TF_Function* grad, TF_Status* status) { if (func == nullptr) { status->status = InvalidArgument( "'func' argument to TF_GraphCopyFunction cannot be null"); return; }
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 13.7K bytes - Viewed (0) -
cni/pkg/util/pluginutil.go
func (w *Watcher) Wait(ctx context.Context) error { select { case <-w.Events: return nil case err := <-w.Errors: return err case <-ctx.Done(): return ctx.Err() } } func (w *Watcher) Close() { _ = w.watcher.Close() } // Creates a file watcher that watches for any changes to the directory func CreateFileWatcher(paths ...string) (*Watcher, error) {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jan 26 20:34:28 UTC 2024 - 3.6K bytes - Viewed (0) -
internal/hash/errors.go
ExpectedSHA256 string CalculatedSHA256 string } func (e SHA256Mismatch) Error() string { return "Bad sha256: Expected " + e.ExpectedSHA256 + " does not match calculated " + e.CalculatedSHA256 } // BadDigest - Content-MD5 you specified did not match what we received. type BadDigest struct { ExpectedMD5 string CalculatedMD5 string } func (e BadDigest) Error() string {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon May 15 21:08:54 UTC 2023 - 2.4K bytes - Viewed (0) -
cni/pkg/plugin/cnieventclient_test.go
}, Gateway: fakeGW, } ) func TestPushCNIAddEventSucceed(t *testing.T) { // Fake out a test HTTP server and use that instead of a real HTTP server over gRPC to validate req/resp flows testServer := httptest.NewServer(http.HandlerFunc(func(res http.ResponseWriter, req *http.Request) { res.WriteHeader(http.StatusOK) res.Write([]byte("server happy")) })) defer func() { testServer.Close() }()
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Jul 02 18:48:50 UTC 2024 - 4.2K bytes - Viewed (0) -
cmd/namespace-lock.go
ctx context.Context cancel context.CancelFunc } // Context returns lock context func (l LockContext) Context() context.Context { return l.ctx } // Cancel function calls cancel() function func (l LockContext) Cancel() { if l.cancel != nil { l.cancel() } } // newNSLock - return a new name space lock map. func newNSLock(isDistErasure bool) *nsLockMap { nsMutex := nsLockMap{ isDistErasure: isDistErasure,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Sep 29 22:40:36 UTC 2024 - 9.2K bytes - Viewed (0) -
tests/create_test.go
for idx, user := range users2 { CheckUser(t, user, *users[idx]) } } func TestPolymorphicHasOne(t *testing.T) { t.Run("Struct", func(t *testing.T) { pet := Pet{ Name: "PolymorphicHasOne", Toy: Toy{Name: "Toy-PolymorphicHasOne"}, } if err := DB.Create(&pet).Error; err != nil {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Tue Mar 19 03:50:28 UTC 2024 - 26.4K bytes - Viewed (0) -
cmd/net_test.go
} if !found { t.Fatalf("host: expected = %v, got = %v", testCase.expectedIPList, ipList) } } } } // Tests finalize api endpoints. func TestGetAPIEndpoints(t *testing.T) { host, port := globalMinioHost, globalMinioPort defer func() { globalMinioHost, globalMinioPort = host, port }() testCases := []struct { host, port string expectedResult string }{
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 19 08:43:09 UTC 2024 - 9.3K bytes - Viewed (0) -
internal/grid/msg.go
res = append(res, "SUB") } return "[" + strings.Join(res, ",") + "]" } // Set one or more flags on f. func (f *Flags) Set(flags Flags) { *f |= flags } // Clear one or more flags on f. func (f *Flags) Clear(flags Flags) { *f &^= flags } // parse an incoming message. func (m *message) parse(b []byte) (*subHandlerID, []byte, error) { var sub *subHandlerID if m.Payload == nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jul 25 21:07:21 UTC 2024 - 7.6K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/route.go
Verbose bool } // Verify returns true if the passed route matches the filter fields func (r *RouteFilter) Verify(route *route.RouteConfiguration) bool { if r.Name != "" && r.Name != route.Name { return false } return true } // PrintRouteSummary prints a summary of the relevant routes in the config dump to the ConfigWriter stdout func (c *ConfigWriter) PrintRouteSummary(filter RouteFilter) error {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 08 20:44:50 UTC 2024 - 7.2K bytes - Viewed (0) -
src/cmd/asm/internal/lex/stack.go
tok = s.Next() } return tok } func (s *Stack) Text() string { return s.tr[len(s.tr)-1].Text() } func (s *Stack) File() string { return s.Base().Filename() } func (s *Stack) Base() *src.PosBase { return s.tr[len(s.tr)-1].Base() } func (s *Stack) SetBase(base *src.PosBase) { s.tr[len(s.tr)-1].SetBase(base) } func (s *Stack) Line() int { return s.tr[len(s.tr)-1].Line() }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Jan 09 22:33:23 UTC 2017 - 1.2K bytes - Viewed (0)