- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 41 for tout (0.38 sec)
-
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) -
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) -
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) -
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) -
okhttp/src/main/kotlin/okhttp3/HttpUrl.kt
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) -
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) -
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) -
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) -
guava-tests/test/com/google/common/collect/SetsTest.java
ObjectOutputStream out = new ObjectOutputStream(bos); out.writeObject(original); byte[] handle = toByteArray(baseWireHandle + handleOffset); byte[] ref = prepended(TC_REFERENCE, handle); bos.write(ref); return bos.toByteArray(); } private static byte[] prepended(byte b, byte[] array) { byte[] out = new byte[array.length + 1]; out[0] = b;
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 49.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/Iterators.java
return (UnmodifiableListIterator<T>) ArrayItr.EMPTY; } /** * This is an enum singleton rather than an anonymous class so ProGuard can figure out it's only * referenced by emptyModifiableIterator(). */ private enum EmptyModifiableIterator implements Iterator<Object> { INSTANCE; @Override public boolean hasNext() { return false;
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Tue Jan 30 00:14:39 GMT 2024 - 50.5K bytes - Viewed (0)