- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for Pointer (0.3 sec)
-
src/cmd/cgo/gcc.go
// rewritten to use _cgo_unsafe.Pointer instead. func (p *Package) rewriteUnsafe(t ast.Expr) ast.Expr { switch t := t.(type) { case *ast.Ident: // We don't see a SelectorExpr for unsafe.Pointer; // this is created by code in this file. if t.Name == "unsafe.Pointer" { return ast.NewIdent("_cgo_unsafe.Pointer") } case *ast.ArrayType:
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Nov 02 16:43:23 GMT 2023 - 97K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/filesystem_interface.h
/// address of the opaque data pointer, hence the wrapper pointer is marked /// `const`. /// /// For consistency, the arguments on all these functions follow the same /// pattern: first we have the opaque pointer argument ("this" above), then the /// input arguments, then the in-out arguments (if any) and we finish the /// argument list with the out arguments. We only use the return type for an out
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri May 27 17:36:54 GMT 2022 - 53.1K bytes - Viewed (0) -
tensorflow/c/c_api.h
// Retrieves the full name of the device (e.g. /job:worker/replica:0/...) // The return value will be a pointer to a null terminated string. The caller // must not modify or delete the string. It will be deallocated upon a call to // TF_DeleteDeviceList. // // If index is out of bounds, an error code will be set in the status object, // and a null pointer will be returned. TF_CAPI_EXPORT extern const char* TF_DeviceListName(const TF_DeviceList* list,
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Oct 26 21:08:15 GMT 2023 - 82.3K bytes - Viewed (3) -
tensorflow/c/experimental/filesystem/modular_filesystem_test.cc
// parsed. // // Furthermore, as `INSTANTIATE_TEST_SUITE_P` needs to be at global level and we // don't want to have a `std::vector<std::string>` at global level, we use a // static pointer to such a vector: we construct it via `SchemeVector()` below // and when tests are instantiated we process it using `GetSchemes()`. static std::vector<std::string>* SchemeVector() {
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri May 27 20:25:58 GMT 2022 - 71K bytes - Viewed (0) -
tensorflow/c/eager/c_api_test.cc
TFE_DeleteExecutor(executor); TFE_DeleteContext(ctx); } void ExecuteAdd(bool async, bool forward_input, bool tfrt) { #ifdef PLATFORM_WINDOWS // On windows, we flakily get a failure due to pointer instability. // Disable the 4 tests using this helper until we fix the issue. return; #else TF_Status* status = TF_NewStatus(); TFE_ContextOptions* opts = TFE_NewContextOptions();
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 03 20:50:20 GMT 2023 - 94.6K bytes - Viewed (1) -
cmd/test-utils_test.go
} if idx := int(cache & letterIdxMask); idx < len(letterBytes) { b[i] = letterBytes[idx] i-- } cache >>= letterIdxBits remain-- } return *(*string)(unsafe.Pointer(&b)) } // generate random object name. func getRandomObjectName() string { return randString(16) } // generate random bucket name. func getRandomBucketName() string {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri May 03 17:26:51 GMT 2024 - 76.2K bytes - Viewed (0) -
cmd/erasure-server-pool.go
// unless all have that, in which case all are preserved. func (p serverPoolsAvailableSpace) FilterMaxUsed(max int) { // We aren't modifying p, only entries in it, so we don't need to receive a pointer. if len(p) <= 1 { // Nothing to do. return } var ok bool for _, z := range p { if z.Available > 0 && z.MaxUsedPct < max { ok = true break } } if !ok {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri May 03 20:08:20 GMT 2024 - 80.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypeTokenTest.java
} private static class Counter<N extends Number> { @SuppressWarnings("unused") // used by reflection List<N> counts; } public void testWildcardCaptured_typeVariableDeclaresTypeBound_wildcardHasNoExplicitUpperBound() throws Exception { TypeToken<Counter<?>> type = new TypeToken<Counter<?>>() {}; TypeToken<?> fieldType =
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 88.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java
} private static class Counter<N extends Number> { @SuppressWarnings("unused") // used by reflection List<N> counts; } public void testWildcardCaptured_typeVariableDeclaresTypeBound_wildcardHasNoExplicitUpperBound() throws Exception { TypeToken<Counter<?>> type = new TypeToken<Counter<?>>() {}; TypeToken<?> fieldType =
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 88.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ldap/LdapManager.java
private final DirContext context; private int counter = 1; protected DirContextHolder(final DirContext context) { this.context = context; } public DirContext get() { return context; } public void inc() { counter++; } @Override public void close() {
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 65.9K bytes - Viewed (0)