- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 2,286 for lengths (0.05 seconds)
-
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java
// Verify path length assertEquals(pathBytes.length, SMBUtil.readInt2(buffer, bodyOffset + 6)); // Verify path content byte[] actualPath = new byte[pathBytes.length]; System.arraycopy(buffer, bodyOffset + 8, actualPath, 0, pathBytes.length); assertArrayEquals(pathBytes, actualPath); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.6K bytes - Click Count (0) -
tensorflow/c/eager/c_api.h
// Returns the length (number of tensors) of the input argument `input_name` // found in the provided `op`. TF_CAPI_EXPORT extern int TFE_OpGetInputLength(TFE_Op* op, const char* input_name, TF_Status* status); // Returns the length (number of tensors) of the output argument `output_name`
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Apr 27 21:07:00 GMT 2023 - 22.8K bytes - Click Count (0) -
src/test/java/jcifs/util/StringsTest.java
assertNotNull(utf16Bytes, "UTF-16LE bytes should not be null"); assertTrue(utf8Bytes.length > 0, "UTF-8 bytes should not be empty"); assertTrue(utf16Bytes.length > 0, "UTF-16LE bytes should not be empty"); assertNotEquals(utf8Bytes.length, utf16Bytes.length, "Different encodings should produce different lengths"); } @ParameterizedTest
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java
byte[] actualPathBytes = new byte[expectedPathBytes.length]; System.arraycopy(dst, 2, actualPathBytes, 0, expectedPathBytes.length); assertArrayEquals(expectedPathBytes, actualPathBytes); // Check null terminator at the end int nullTerminatorIndex = 2 + expectedPathBytes.length; assertEquals(0, dst[nullTerminatorIndex]);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java
trans2QueryFSInfo.writeDataWireFormat(buffer, 0); trans2QueryFSInfo.readSetupWireFormat(buffer, 0, buffer.length); trans2QueryFSInfo.readParametersWireFormat(buffer, 0, buffer.length); trans2QueryFSInfo.readDataWireFormat(buffer, 0, buffer.length); } // Object should still be in valid state String result = trans2QueryFSInfo.toString();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java
int paramWritten = trans2SetFileInfo.writeParametersWireFormat(paramBuffer, 0); int dataWritten = trans2SetFileInfo.writeDataWireFormat(dataBuffer, 0); // Verify lengths assertEquals(2, setupWritten); assertEquals(6, paramWritten); assertEquals(56, dataWritten); // 50 + 6 padding // Verify setup content
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.8K bytes - Click Count (0) -
tensorflow/c/eager/c_api.cc
} void TFE_OpSetAttrStringList(TFE_Op* op, const char* attr_name, const void* const* values, const size_t* lengths, int num_values) { auto s = tensorflow::unwrap(op)->SetAttrStringList(attr_name, values, lengths, num_values); if (!s.ok()) { LOG(WARNING) << "Unable to set attribute: " << attr_name; } }
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Fri Nov 07 05:55:21 GMT 2025 - 43.9K bytes - Click Count (0) -
tensorflow/c/c_api.cc
const void* value, size_t length) { absl::string_view s(static_cast<const char*>(value), length); desc->node_builder.Attr(attr_name, s); } void TF_SetAttrStringList(TF_OperationDescription* desc, const char* attr_name, const void* const* values, const size_t* lengths, int num_values) {Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 04 05:55:32 GMT 2025 - 102.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java
// When boolean isError = response.isErrorResponseStatus(); // Then assertFalse(isError); } @DisplayName("Should handle various data lengths") @ParameterizedTest @CsvSource({ "0, 0", "1, 10", "100, 200", "512, 1024" }) void testReadBytesWireFormatVariousDataLengths(int dataLength, int dataRemaining) throws Exception { // GivenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 22.1K bytes - Click Count (0) -
guava/src/com/google/common/base/Equivalence.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jul 10 01:47:55 GMT 2025 - 15K bytes - Click Count (0)