- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 49 for dlim (0.09 seconds)
-
src/bytes/buffer_test.go
if v != byte(l+i) { t.Fatalf("in %d,%d: Next(%d)[%d] = %d, want %d", i, j, k, l, v, l+i) } } } } } } var readBytesTests = []struct { buffer string delim byte expected []string err error }{ {"", 0, []string{""}, io.EOF}, {"a\x00", 0, []string{"a\x00"}, nil}, {"abbbaaaba", 'b', []string{"ab", "b", "b", "aaab"}, nil},
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Nov 14 19:01:17 GMT 2025 - 19.4K bytes - Click Count (0) -
tensorflow/c/eager/c_api_test.cc
ASSERT_EQ(num_dims, -1); ASSERT_EQ("Invalid handle", string(TF_Message(status.get()))); TF_SetStatus(status.get(), TF_OK, ""); int dim = TFE_TensorHandleDim(h, 0, status.get()); ASSERT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(status.get())); ASSERT_EQ(dim, -1); ASSERT_EQ("Invalid handle", string(TF_Message(status.get()))); } TEST(CAPI, TensorHandleDevices) {
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Oct 09 05:56:18 GMT 2025 - 94.6K bytes - Click Count (0) -
tensorflow/c/eager/custom_device_testutil.cc
auto dtype = TFE_TensorHandleDataType(t->tensor); TFE_CustomDeviceTensorHandleMethods handle_methods; handle_methods.num_dims = &LoggedTensorNumDims; handle_methods.dim = &LoggedTensorDim; handle_methods.deallocator = &LoggedTensorDeallocator; return TFE_NewCustomDeviceTensorHandle(context, logging_device_name.c_str(), dtype, t.release(), handle_methods,
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Dec 20 23:30:21 GMT 2025 - 8.4K bytes - Click Count (0) -
src/main/webapp/js/admin/plugins/form-validator/file.js
ction(c){var d=!1;e.valAttr("dimension")&&(d=a.formUtils.checkImageDimension(c,e.valAttr("dimension"),h)),!d&&e.valAttr("ratio")&&(d=a.formUtils.checkImageRatio(c,e.valAttr("ratio"),h)),d?(j.errorMessage=h.wrongFileDim+" "+e.valAttr("has-not-valid-dim"),b(!1)):b(!0)},function(a){throw a})}else b(!0)},errorMessage:"",errorMessageKey:""}),a(b).one("validatorsLoaded formValidationSetup",function(b,c,d){var e;e=c?c.find('input[type="file"]'):a('input[type="file"]'),a.formUtils.dialogs.removeInputSty...Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Jan 01 05:12:47 GMT 2018 - 4.6K bytes - Click Count (0) -
src/bufio/bufio_test.go
for i := 0; i < n; i++ { buf.WriteString("abcdefg") } r := NewReaderSize(&buf, minReadBufferSize) readTo := func(delim byte, want string) { data, err := read(r, delim) if err != nil { t.Fatalf("#%d: unexpected error reading to %c: %v", rno, delim, err) } if got := string(data); got != want { t.Fatalf("#%d: got %q, want %q", rno, got, want) } }Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Feb 07 01:08:54 GMT 2025 - 51.6K bytes - Click Count (0) -
src/main/java/jcifs/smb1/netbios/NameServiceClient.java
void tryClose() { synchronized (LOCK) { /* Yes, there is the potential to drop packets * because we might close the socket during a * request. However the chances are slim and the * retry code should ensure the overall request * is serviced. The alternative complicates things * more than I think is worth it. */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 17.6K bytes - Click Count (0) -
tensorflow/c/c_api_experimental.h
// Information about the shape of a Tensor and its type. struct TF_ShapeAndType { // Number of dimensions. -1 indicates unknown rank. int num_dims; // Array of dimensions. -1 indicates unknown dim. int64_t* dims; // The data type. May be 0 to denote unknown type. TF_DataType dtype; }; typedef struct TF_ShapeAndType TF_ShapeAndType; // A list of TF_ShapeAndType elements..Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Apr 27 21:07:00 GMT 2023 - 15.1K bytes - Click Count (0) -
tensorflow/c/c_api_experimental.cc
shape.dims = nullptr; continue; } shape.dims = new int64_t[shape.num_dims]; for (size_t j = 0; j < shape.num_dims; ++j) { shape.dims[j] = c.Value(c.Dim(shape_handle, j)); } } if (output_shapes != nullptr) *output_shapes = output_shapes_result; // TODO(bgogul): Set output_resource_shapes_and_types. }Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 04 05:55:32 GMT 2025 - 29.4K bytes - Click Count (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
synchronized (this.LOCK) { /* * Yes, there is the potential to drop packets * because we might close the socket during a * request. However the chances are slim and the * retry code should ensure the overall request * is serviced. The alternative complicates things * more than I think is worth it. */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 38.5K bytes - Click Count (0) -
tensorflow/c/c_api.cc
return; } // Rank is greater than 0, so fill in the values, if known, and // -1 for unknown values. for (int i = 0; i < num_dims; ++i) { auto dim = ic->Dim(shape, i); int64_t value = -1; if (ic->ValueKnown(dim)) { value = ic->Value(dim); } dims[i] = value; } } // TF_OperationDescription functions ------------------------------------------ extern "C" {
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 04 05:55:32 GMT 2025 - 102.4K bytes - Click Count (0)