- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for sering (0.16 sec)
-
tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache.h
/// Guards access to the cache and the LRU list. absl::Mutex mu_; /// The cache (a map from string key to Entry). std::map<std::string, Entry> cache_ ABSL_GUARDED_BY(mu_); /// The LRU list of entries. The front of the list identifies the most /// recently accessed entry. std::list<std::string> lru_list_ ABSL_GUARDED_BY(mu_); }; } // namespace tf_gcs_filesystem
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 09 19:31:22 GMT 2020 - 6.3K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_helper.h
#include <fstream> #include <string> class TempFile : public std::fstream { public: // We should specify openmode each time we call TempFile. TempFile(const std::string& temp_file_name, std::ios::openmode mode); TempFile(TempFile&& rhs); ~TempFile() override; const std::string getName() const; bool truncate(); private: const std::string name_; };
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri Jun 26 14:56:58 GMT 2020 - 1.2K bytes - Viewed (0) -
tensorflow/c/eager/c_api_test_util.h
const std::string& op_name, const std::string& send_device, const std::string& recv_device, tensorflow::uint64 send_device_incarnation); // Return a RecvOp op `op_name` with the attributes `send_device`, // `recv_device`, and `send_device_incarnation` set. TFE_Op* RecvOp(TFE_Context* ctx, const std::string& op_name,
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Jul 17 23:43:59 GMT 2023 - 7.7K bytes - Viewed (0) -
src/cmd/cgo/internal/swig/testdata/callback/main.h
class Callback { public: virtual ~Callback() { } virtual std::string run() { return "Callback::run"; } }; class Caller { private: Callback *callback_; public: Caller(): callback_(0) { } ~Caller() { delCallback(); } void delCallback() { delete callback_; callback_ = 0; } void setCallback(Callback *cb) { delCallback(); callback_ = cb; } std::string call();
C - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:07 GMT 2023 - 529 bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.h
#include "tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h" #include "tensorflow/c/tf_status.h" void ParseGCSPath(const std::string& fname, bool object_empty_ok, std::string* bucket, std::string* object, TF_Status* status); namespace tf_random_access_file { void Cleanup(TF_RandomAccessFile* file); int64_t Read(const TF_RandomAccessFile* file, uint64_t offset, size_t n,
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Aug 31 04:37:41 GMT 2020 - 5.2K bytes - Viewed (0) -
tensorflow/c/eager/abstract_context.h
virtual Status RegisterFunction(AbstractFunction*) = 0; // Remove a function. 'func' argument is the name of a previously added // FunctionDef. The name is in fdef.signature.name. virtual Status RemoveFunction(const string& func) = 0; private: const AbstractContextKind kind_; }; namespace internal { struct AbstractContextDeleter { void operator()(AbstractContext* p) const { if (p != nullptr) { p->Release();
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Sun Oct 24 11:16:58 GMT 2021 - 3K bytes - Viewed (0) -
tensorflow/c/env.h
TF_CAPI_EXPORT extern bool TF_StringStreamNext(TF_StringStream* list, const char** result); // Frees the resources associated with given string list. All pointers returned // by TF_StringStreamNext are invalid after this call. TF_CAPI_EXPORT extern void TF_StringStreamDone(TF_StringStream* list);
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Sat Jan 09 02:53:27 GMT 2021 - 9.6K bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue26213/jni.h
// This is the relevant part of jni.h. // On Android NDK16, jobject is defined like this in C and C++ typedef void* jobject; typedef jobject jclass; typedef jobject jthrowable; typedef jobject jstring; typedef jobject jarray; typedef jarray jbooleanArray; typedef jarray jbyteArray; typedef jarray jcharArray; typedef jarray jshortArray; typedef jarray jintArray; typedef jarray jlongArray;
C - Registered: Tue Mar 26 11:13:08 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 874 bytes - Viewed (0) -
tensorflow/c/eager/tfe_monitoring_internal.h
}; struct TFE_MonitoringStringGauge0 : TFE_MonitoringGauge<tensorflow::string, 0> { using TFE_MonitoringGauge::TFE_MonitoringGauge; }; struct TFE_MonitoringStringGauge1 : TFE_MonitoringGauge<tensorflow::string, 1> { using TFE_MonitoringGauge::TFE_MonitoringGauge; }; struct TFE_MonitoringStringGauge2 : TFE_MonitoringGauge<tensorflow::string, 2> { using TFE_MonitoringGauge::TFE_MonitoringGauge; };
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Aug 11 01:20:50 GMT 2021 - 5.2K bytes - Viewed (0) -
src/cmd/cgo/internal/test/callback_c.c
// Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. #include <string.h> #include "_cgo_export.h" void callback(void *f) { // use some stack space volatile char data[64*1024]; data[0] = 0; goCallback(f); data[sizeof(data)-1] = 0; } void callGoFoo(void) { extern void goFoo(void);
C - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 933 bytes - Viewed (0)