Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for out (0.02 sec)

  1. src/main/java/org/codelibs/core/io/CopyUtil.java

         *            入力ストリーム。{@literal null}であってはいけません
         * @param out
         *            出力ストリーム。{@literal null}であってはいけません
         * @return コピーしたバイト数
         */
        public static int copy(final InputStream in, final OutputStream out) {
            assertArgumentNotNull("in", in);
            assertArgumentNotNull("out", out);
    
            if (in instanceof FileInputStream) {
                if (out instanceof FileOutputStream) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 52.4K bytes
    - Viewed (0)
  2. src/bytes/bytes_test.go

    func TestEqualFold(t *testing.T) {
    	for _, tt := range EqualFoldTests {
    		if out := EqualFold([]byte(tt.s), []byte(tt.t)); out != tt.out {
    			t.Errorf("EqualFold(%#q, %#q) = %v, want %v", tt.s, tt.t, out, tt.out)
    		}
    		if out := EqualFold([]byte(tt.t), []byte(tt.s)); out != tt.out {
    			t.Errorf("EqualFold(%#q, %#q) = %v, want %v", tt.t, tt.s, out, tt.out)
    		}
    	}
    }
    
    var cutTests = []struct {
    	s, sep        string
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Aug 19 19:09:04 UTC 2024
    - 61.2K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        peer.play()
    
        // Play it back.
        val connection = connect(peer)
        val client = connection.newStream(headerEntries("b", "banana"), true)
        val out = client.getSink().buffer()
        out.write(EMPTY_BYTE_ARRAY)
        out.flush()
        out.close()
    
        // Verify the peer received what was expected.
        assertThat(peer.takeFrame().type).isEqualTo(Http2.TYPE_HEADERS)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  4. istioctl/pkg/proxyconfig/proxyconfig.go

    }
    
    func setupFileConfigdumpWriter(filename string, out io.Writer) (*configdump.ConfigWriter, error) {
    	data, err := readFile(filename)
    	if err != nil {
    		return nil, err
    	}
    	return setupConfigdumpEnvoyConfigWriter(data, out)
    }
    
    func setupConfigdumpEnvoyConfigWriter(debug []byte, out io.Writer) (*configdump.ConfigWriter, error) {
    	cw := &configdump.ConfigWriter{Stdout: out}
    	err := cw.Prime(debug)
    	if err != nil {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 15:53:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

        private fun List<String?>.toQueryString(out: StringBuilder) {
          for (i in 0 until size step 2) {
            val name = this[i]
            val value = this[i + 1]
            if (i > 0) out.append('&')
            out.append(name)
            if (value != null) {
              out.append('=')
              out.append(value)
            }
          }
        }
    
        /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 63.5K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_function_test.cc

        for (int i = 0; i < expected_results.size(); ++i) {
          TF_Tensor* out = csession.output_tensor(i);
          ASSERT_TRUE(out != nullptr);
          EXPECT_EQ(TF_INT32, TF_TensorType(out));
          EXPECT_EQ(0, TF_NumDims(out));  // scalar
          ASSERT_EQ(sizeof(int32_t), TF_TensorByteSize(out));
          int32_t* output_contents = static_cast<int32_t*>(TF_TensorData(out));
          EXPECT_EQ(expected_results[i], *output_contents);
        }
      }
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
  7. tensorflow/c/c_api_test.cc

      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
      TF_Tensor* out = csession.output_tensor(0);
      ASSERT_TRUE(out != nullptr);
      EXPECT_EQ(TF_FLOAT, TF_TensorType(out));
      EXPECT_EQ(2, TF_NumDims(out));
      EXPECT_EQ(4, TF_Dim(out, 0));
      EXPECT_EQ(1, TF_Dim(out, 1));
      float* values = static_cast<float*>(TF_TensorData(out));
      // These values are defined to be (input / 2) + 2.
      EXPECT_EQ(2, values[0]);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 97K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTransportImpl.java

                this.socket.setSoTimeout(tc.getConfig().getSoTimeout());
    
                this.out = this.socket.getOutputStream();
                this.in = this.socket.getInputStream();
    
                SessionServicePacket ssp = new SessionRequestPacket(tc.getConfig(), calledName, tc.getNameServiceClient().getLocalName());
                this.out.write(this.sbuf, 0, ssp.writeWireFormat(this.sbuf, 0));
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                cliManager.displayHelp(System.out);
                throw e;
            }
        }
    
        private void informativeCommands(CliRequest cliRequest) throws ExitException {
            if (cliRequest.commandLine.hasOption(CLIManager.HELP)) {
                cliManager.displayHelp(System.out);
                throw new ExitException(0);
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
  10. tensorflow/BUILD

    # Do not sort: Copybara rule
    # copybara:uncomment_begin
    # # buildifier: disable=out-of-order-load
    # load("//devtools/build_cleaner/skylark:action_config_test.bzl", "action_config_test")
    # load("//devtools/copybara/rules:copybara.bzl", "copybara_config_test")
    # load("@rules_license//rules:license.bzl", "license")
    # # buildifier: enable=out-of-order-load
    # copybara:uncomment_end
    
    # copybara:comment_begin(oss-only)
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 16 05:28:35 UTC 2024
    - 53.5K bytes
    - Viewed (0)
Back to top