- Sort Score
- Result 10 results
- Languages All
Results 841 - 850 of 1,653 for length (0.05 sec)
-
cmd/xl-storage-meta-inline.go
return keys, fmt.Errorf("xlMetaInlineData: key %d is length 0", i) } keys = append(keys, string(key)) // Skip data... _, buf, err = msgp.ReadBytesZC(buf) if err != nil { return keys, err } } return keys, nil } // serialize will serialize the provided keys and values. // The function will panic if keys/value slices aren't of equal length.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Apr 04 12:04:40 UTC 2024 - 9.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http1/HeadersReader.kt
private var headerLimit = HEADER_LIMIT.toLong() /** Read a single line counted against the header size limit. */ fun readLine(): String { val line = source.readUtf8LineStrict(headerLimit) headerLimit -= line.length.toLong() return line } /** Reads headers or trailers. */ fun readHeaders(): Headers { val result = Headers.Builder() while (true) { val line = readLine()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Dec 20 23:27:07 UTC 2023 - 1.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FileBackedOutputStreamAndroidIncompatibleTest.java
byte[] data = newPreFilledByteArray(100); FileBackedOutputStream out = new FileBackedOutputStream(0, true); write(out, data, 0, 100, true); final File file = out.getFile(); assertEquals(100, file.length()); assertTrue(file.exists()); out.close(); // Make sure that finalize deletes the file out = null; // times out and throws RuntimeException on failure GcFinalization.awaitDone(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jun 08 21:20:23 UTC 2023 - 1.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java
@Override public SampleElements<Integer> samples() { return new SampleElements<>(1, 4, 3, 2, 5); } @Override public Integer[] createArray(int length) { return new Integer[length]; } @Override public Iterable<Integer> order(List<Integer> insertionOrder) { return Ordering.natural().sortedCopy(insertionOrder); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 02 18:21:29 UTC 2024 - 21.5K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
TF_OperationGetAttrTensorShapeProto(oper, "v", value, s_); EXPECT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); EXPECT_EQ(bytes.length(), value->length); EXPECT_EQ(0, memcmp(bytes.data(), value->data, value->length)); TF_DeleteBuffer(value); } TEST_F(CApiAttributesTest, TensorShapeProtoList) { string bytes1, bytes2; tensorflow::TensorShapeProto proto;
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 97K bytes - Viewed (0) -
src/main/webapp/js/admin/plugins/form-validator/brazil.js
module&&module.exports?module.exports=b(require("jquery")):b(a.jQuery)}(this,function(a){!function(a){a.formUtils.registerLoadedModule("brazil"),a.formUtils.addValidator({name:"cpf",validatorFunction:function(a){var b=a.replace(/\D/g,""),c=0,d=0,e=0,f=0;if(11!==b.length||"00000000000"===b)return!1;for(i=1;i<=9;i++)c+=parseInt(b.substring(i-1,i))*(11-i);if(e=10*c%11,e>=10&&(e=0),e!==parseInt(b.substring(9,10)))return!1;for(i=1;i<=10;i++)d+=parseInt(b.substring(i-1,i))*(12-i);return f=10*d%11,f>=10&&(f=0),f===pars...
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Mon Jan 01 05:12:47 UTC 2018 - 1.3K bytes - Viewed (0) -
tests/test_response_code_no_body.py
async def b(): pass # pragma: no cover client = TestClient(app) def test_get_response(): response = client.get("/a") assert response.status_code == 204, response.text assert "content-length" not in response.headers assert response.content == b"" def test_openapi_schema(): response = client.get("/openapi.json") assert response.status_code == 200, response.text assert response.json() == {
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 3.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbEnumerationUtil.java
CIFSContext tc = parent.getContext(); URL u = locator.getURL(); FileEntry[] entries; if ( u.getPath().lastIndexOf('/') != ( u.getPath().length() - 1 ) ) throw new SmbException(u.toString() + " directory must end with '/'"); if ( locator.getType() != SmbConstants.TYPE_SERVER )
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sat Jul 20 08:41:19 UTC 2019 - 12.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharSourceTest.java
assertEquals(SPLIT_LINES, lines); } public void testCopyTo_appendable() throws IOException { StringBuilder builder = new StringBuilder(); assertEquals(STRING.length(), source.copyTo(builder)); assertTrue(source.wasStreamOpened() && source.wasStreamClosed()); assertEquals(STRING, builder.toString()); } public void testCopyTo_charSink() throws IOException {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 11.4K bytes - Viewed (0) -
android/guava/src/com/google/common/eventbus/SubscriberRegistry.java
Class<?>[] parameterTypes = method.getParameterTypes(); checkArgument( parameterTypes.length == 1, "Method %s has @Subscribe annotation but has %s parameters. " + "Subscriber methods must have exactly 1 parameter.", method, parameterTypes.length); checkArgument( !parameterTypes[0].isPrimitive(),
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 15:16:45 UTC 2024 - 10.8K bytes - Viewed (0)