- Sort Score
- Result 10 results
- Languages All
Results 251 - 260 of 1,875 for length (0.07 sec)
-
src/test/java/jcifs/smb/SIDCacheImplTest.java
// Provide empty arrays to satisfy code paths rpc.names = new lsarpc.LsarTransNameArray(); rpc.names.count = sids.length; rpc.names.names = new lsarpc.LsarTranslatedName[sids.length]; for (int i = 0; i < sids.length; i++) { rpc.names.names[i] = new lsarpc.LsarTranslatedName(); rpc.names.names[i].sid_type = (short) jcifs.SID.SID_TYPE_UNKNOWN;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbResourceLocatorImpl.java
@Override public boolean isRoot() { // length == 0 should not happen return getShare() == null && getUNCPath().length() <= 1; } boolean isRootOrShare() { // length == 0 should not happen return getUNCPath().length() <= 1; } /** * @throws MalformedURLException * */ private synchronized void canonicalizePath() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 23.6K bytes - Viewed (0) -
cmd/httprange.go
} return rangeLength, nil } // GetOffsetLength computes the start offset and length of the range // given the size of the resource func (h *HTTPRangeSpec) GetOffsetLength(resourceSize int64) (start, length int64, err error) { if h == nil { // No range specified, implies whole object. return 0, resourceSize, nil } length, err = h.GetLength(resourceSize) if err != nil { return 0, 0, err }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 5.9K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerHeader.kt
* * ``` * 0bxx0xxxxx Primitive * 0bxx1xxxxx Constructed * ``` */ var constructed: Boolean, /** Length of the message in bytes, or -1L if its length is unknown at the time of encoding. */ var length: Long, ) { val isEndOfData: Boolean get() = tagClass == TAG_CLASS_UNIVERSAL && tag == TAG_END_OF_CONTENTSRegistered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.3K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java
if (x.length() != (originalString.length() * count)) { throw new RuntimeException("Wrong length: " + x); } } } private static String oldRepeat(String string, int count) { // If this multiplication overflows, a NegativeArraySizeException or // OutOfMemoryError is not far behind int len = string.length(); int size = len * count; char[] array = new char[size];
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 3.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/Smb2RdmaTransform.java
private int length; // 4 bytes: Length of buffer /** * Create SMB2 RDMA Transform * * @param offset offset within registered buffer * @param token RDMA provider token (steering tag/memory handle) * @param length length of buffer */ public Smb2RdmaTransform(long offset, int token, int length) { this.offset = offset; this.token = token;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 3K bytes - Viewed (0) -
cmd/erasure-utils.go
) // getDataBlockLen - get length of data blocks from encoded blocks. func getDataBlockLen(enBlocks [][]byte, dataBlocks int) int { size := 0 // Figure out the data block length. for _, block := range enBlocks[:dataBlocks] { size += len(block) } return size } // Writes all the data blocks from encoded blocks until requested // outSize length. Provides a way to skip bytes until the offset.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Jan 31 02:11:45 UTC 2024 - 3.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java
* @param buf the buffer containing the fragment * @param off the offset into the buffer * @param length the length of data to send * @param isDirect whether to use direct transmission * @throws IOException if an I/O error occurs */ protected abstract void doSendFragment(byte[] buf, int off, int length, boolean isDirect) throws IOException; /** * Receives a DCERPC fragment from the remote endpointRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.7K bytes - Viewed (0) -
src/main/java/jcifs/http/NetworkExplorer.java
url = file.getLocator().getPath(); resp.setContentType("text/plain"); resp.setContentType(URLConnection.guessContentTypeFromName(url)); resp.setHeader("Content-Length", file.length() + ""); resp.setHeader("Accept-Ranges", "Bytes"); while ((n = in.read(buf)) != -1) { out.write(buf, 0, n); } } } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 23.4K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java
for (int i = 0; i < reps; i++) { for (int n = 0; n < chars.length; n++) { dummy ^= Ascii.isUpperCase(chars[n]); } } return dummy; } static String charSequenceToUpperCase(CharSequence chars) { char[] newChars = new char[chars.length()]; for (int i = 0; i < newChars.length; i++) { newChars[i] = Ascii.toUpperCase(chars.charAt(i)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 4.8K bytes - Viewed (0)