- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for value_string (0.15 sec)
-
tensorflow/c/eager/immediate_execution_tensor_handle.cc
} else { shape_string = "<error computing shape>"; } std::string value_string; if (!SummarizeValue(value_string).ok()) { value_string = "<error computing value>"; } if (value_string.length() > 100) { // The default NumPy-style output can be distractingly long in error // messages. value_string = absl::StrCat(value_string.substr(0, 100), " [...]"); } Status s;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 15 09:49:45 UTC 2024 - 2.1K bytes - Viewed (0) -
src/internal/trace/testdata/tests/go122-annotations-stress.test
UserLog dt=7 task=12 key_string=24 value_string=67 stack=27 UserRegionEnd dt=2 task=12 name_string=35 stack=28 GoDestroy dt=1 GoStart dt=2 g=7 g_seq=1 UserRegionBegin dt=13 task=12 name_string=31 stack=26 UserLog dt=5 task=12 key_string=24 value_string=68 stack=27 UserLog dt=6 task=12 key_string=24 value_string=69 stack=30 UserTaskBegin dt=5 task=13 parent_task=12 name_string=26 stack=31 UserLog dt=7 task=13 key_string=27 value_string=70 stack=32
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 38.3K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental.cc
status->status = status_or_value.status(); if (!status_or_value.ok()) return; const std::string& value_string = status_or_value.value(); void* data = tensorflow::port::Malloc(value_string.length()); value_string.copy(static_cast<char*>(data), value_string.length(), 0); value_buf->data = data; value_buf->length = value_string.length(); value_buf->data_deallocator = [](void* data, size_t length) { tensorflow::port::Free(data);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 11 23:52:39 UTC 2024 - 35.9K bytes - Viewed (0) -
src/internal/trace/event/go122/event.go
IsTimedEvent: true, StackIDs: []int{3}, StringIDs: []int{2}, }, EvUserLog: event.Spec{ Name: "UserLog", Args: []string{"dt", "task", "key_string", "value_string", "stack"}, IsTimedEvent: true, StackIDs: []int{4}, StringIDs: []int{2, 3}, }, EvGoSwitch: event.Spec{ Name: "GoSwitch", Args: []string{"dt", "g", "g_seq"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 14.8K bytes - Viewed (0) -
src/internal/trace/testdata/tests/go122-annotations.test
GoStart dt=8 g=9 g_seq=1 UserRegionBegin dt=286 task=1 name_string=24 stack=15 UserRegionBegin dt=244 task=1 name_string=25 stack=16 UserRegionBegin dt=6 task=1 name_string=26 stack=17 UserLog dt=6 task=1 key_string=27 value_string=28 stack=18 UserRegionEnd dt=4 task=1 name_string=26 stack=19 UserRegionEnd dt=315 task=1 name_string=25 stack=20 UserTaskEnd dt=5 task=1 stack=21 GoUnblock dt=11 g=1 g_seq=1 stack=22 GoDestroy dt=6
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 8.7K bytes - Viewed (0) -
src/reflect/tostring_test.go
if i > 0 { str += ", " } str += valueToString(v.Field(i)) } str += "}" return str case Interface: return typ.String() + "(" + valueToString(val.Elem()) + ")" case Func: v := val return typ.String() + "(" + strconv.FormatUint(uint64(v.Pointer()), 10) + ")" default: panic("valueToString: can't print type " + typ.String()) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 26 14:24:17 UTC 2021 - 2.1K bytes - Viewed (0) -
src/internal/trace/value.go
if v.kind != ValueUint64 { panic("Uint64 called on Value of a different Kind") } return v.scalar } // valueAsString produces a debug string value. // // This isn't just Value.String because we may want to use that to store // string values in the future. func valueAsString(v Value) string { switch v.Kind() { case ValueUint64: return fmt.Sprintf("Uint64(%d)", v.scalar) } return "Bad"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 1.2K bytes - Viewed (0) -
src/crypto/x509/pkix/pkix.go
} typeName = oidString } valueString := fmt.Sprint(tv.Value) escaped := make([]rune, 0, len(valueString)) for k, c := range valueString { escape := false switch c { case ',', '+', '"', '\\', '<', '>', ';': escape = true case ' ': escape = k == 0 || k == len(valueString)-1 case '#': escape = k == 0 } if escape {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 17:09:47 UTC 2023 - 9.1K bytes - Viewed (0) -
src/internal/reflectlite/tostring_test.go
package reflectlite_test import ( . "internal/reflectlite" "reflect" "strconv" ) // valueToString returns a textual representation of the reflection value val. // For debugging only. func valueToString(v Value) string { return valueToStringImpl(reflect.ValueOf(ToInterface(v))) } func valueToStringImpl(val reflect.Value) string { var str string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 26 14:24:17 UTC 2021 - 2.4K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/dom/DomTest.kt
fun domAsString(document: DeclarativeDocument) = buildString { fun valueToString(valueNode: DeclarativeDocument.ValueNode): String = when (valueNode) { is DeclarativeDocument.ValueNode.ValueFactoryNode -> "valueFactory(${valueNode.factoryName}" + (if (valueNode.values.isNotEmpty()) ", ${valueNode.values.joinToString { valueToString(it) }})" else ")") + maybeSourceData(valueNode)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 31 13:47:09 UTC 2024 - 6.9K bytes - Viewed (0)