Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 59 for tout (0.23 sec)

  1. 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
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  2. 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) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 52.4K bytes
    - Viewed (0)
  3. 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]);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  4. 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)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 75.4K bytes
    - Viewed (0)
  5. 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);
        }
      }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
  6. 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));
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 18 23:47:00 GMT 2023
    - 67K bytes
    - Viewed (0)
  7. 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)
            }
          }
        }
    
        /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 63.5K bytes
    - Viewed (1)
  8. cmd/peer-rest-server.go

    				peersLogOnceIf(ctx, err, "event: Encode failed")
    				continue
    			}
    			out <- grid.NewBytesWithCopyOf(buf.Bytes())
    		}
    	}
    }
    
    // TraceHandler sends http trace messages back to peer rest client
    func (s *peerRESTServer) TraceHandler(ctx context.Context, payload []byte, _ <-chan []byte, out chan<- []byte) *grid.RemoteErr {
    	var traceOpts madmin.ServiceTraceOpts
    	err := json.Unmarshal(payload, &traceOpts)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

          return delegate;
        }
    
        void writeMapTo(ObjectOutputStream out) throws IOException {
          out.writeInt(delegate.size());
          for (Entry<K, V> entry : delegate.entrySet()) {
            out.writeObject(entry.getKey());
            out.writeObject(entry.getValue());
          }
          out.writeObject(null); // terminate entries
        }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  10. cmd/bucket-handlers.go

    		// instead of "copying" from source, we need the stream to be seekable
    		// to ensure that we can make fan-out calls concurrently.
    		buf := bytebufferpool.Get()
    		defer func() {
    			buf.Reset()
    			bytebufferpool.Put(buf)
    		}()
    
    		md5w := md5.New()
    
    		// Maximum allowed fan-out object size.
    		const maxFanOutSize = 16 << 20
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
Back to top