Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for outBuf (0.08 sec)

  1. src/bufio/bufio_test.go

    	outbuf := new(strings.Builder)
    	maxLineLength := len(line1) + len(restData)/2
    	l := NewReaderSize(inbuf, maxLineLength)
    	line, isPrefix, err := l.ReadLine()
    	if isPrefix || err != nil || string(line) != line1 {
    		t.Errorf("bad result for first line: isPrefix=%v err=%v line=%q", isPrefix, err, string(line))
    	}
    	n, err := io.Copy(outbuf, l)
    	if int(n) != len(restData) || err != nil {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  2. istioctl/pkg/proxyconfig/proxyconfig.go

    				return configWriter.PrintClusterDump(filter, outputFormat)
    			default:
    				return fmt.Errorf("output format %q not supported", outputFormat)
    			}
    		},
    		ValidArgsFunction: completion.ValidPodsNameArgs(ctx),
    	}
    
    	clusterConfigCmd.PersistentFlags().StringVarP(&outputFormat, "output", "o", summaryOutput, "Output format: one of json|yaml|short")
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 15:53:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
  3. tensorflow/c/c_api.h

    //
    // Note that when the same TF_Output is listed as both an input and an output,
    // the corresponding function's output will equal to this input,
    // instead of the original node's output.
    //
    // Callers must also satisfy the following constraints:
    // - `inputs` cannot refer to TF_Outputs within a control flow context. For
    //   example, one cannot use the output of "switch" node as input.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  4. tensorflow/c/c_api_function_test.cc

    }
    
    // Specification for an expected edge.
    // src is either:
    // - input name (as it appears in FunctionDef)
    // - name of output tensor (in nested "add:z:0" format)
    // dst is either:
    // - output name (as it appears in FunctionDef)
    // - <name_of_node>:<index_of_this_input_into_node> (this looks the same as
    //      output tensor naming, but it the index is actually an input index)
    struct EdgeSpec : public std::pair<string, string> {
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
  5. cmd/object-api-listobjects_test.go

    			// necessary. Test passes as expected, but the output values
    			// are verified for correctness here.
    			if err == nil && testCase.shouldPass {
    				// The length of the expected ListObjectsResult.Objects
    				// should match in both expected result from test cases
    				// and in the output. On failure calling t.Fatalf,
    				// otherwise it may lead to index out of range error in
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 11:07:40 UTC 2024
    - 73.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/Futures.java

          ListenableFuture<V> future) {
        if (future.isDone()) {
          return future;
        }
        NonCancellationPropagatingFuture<V> output = new NonCancellationPropagatingFuture<>(future);
        future.addListener(output, directExecutor());
        return output;
      }
    
      /** A wrapped future that does not propagate cancellation to its delegate. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  7. cmd/object-api-multipart_test.go

    			}
    		}
    		// Test passes as expected, but the output values are verified for correctness here.
    		if actualErr == nil && testCase.shouldPass {
    			// Asserting whether the md5 output is correct.
    			if testCase.inputMd5 != actualInfo.ETag {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 88.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/Futures.java

          ListenableFuture<V> future) {
        if (future.isDone()) {
          return future;
        }
        NonCancellationPropagatingFuture<V> output = new NonCancellationPropagatingFuture<>(future);
        future.addListener(output, directExecutor());
        return output;
      }
    
      /** A wrapped future that does not propagate cancellation to its delegate. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.4K bytes
    - Viewed (0)
  9. tensorflow/c/eager/c_api_test.cc

      ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TFE_DeleteTensorHandle(retvals[0]);
      float output[2] = {0};
      EXPECT_EQ(sizeof(output), TF_TensorByteSize(t));
      memcpy(&output[0], TF_TensorData(t), TF_TensorByteSize(t));
      TF_DeleteTensor(t);
      EXPECT_EQ(1, output[0]);
      EXPECT_EQ(3, output[1]);
      TFE_DeleteContext(ctx);
      ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TF_DeleteStatus(status);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Aug 03 20:50:20 UTC 2023
    - 94.6K bytes
    - Viewed (0)
  10. tensorflow/c/c_api_test.cc

        // Convert back to a C++ Tensor and ensure we get expected output.
        Tensor output;
        ASSERT_EQ(absl::OkStatus(), TF_TensorToTensor(dst, &output)) << line;
        ASSERT_EQ(src.NumElements(), output.NumElements()) << line;
        for (int64_t i = 0; i < src.NumElements(); ++i) {
          ASSERT_EQ(data[i], output.flat<tstring>()(i)) << line;
        }
    
        TF_DeleteTensor(dst);
      }
    }
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 97K bytes
    - Viewed (0)
Back to top