- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 115 for setLength (0.1 seconds)
-
src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java
when(mockRequest.getSignSeq()).thenReturn(10); when(mockRequest.getCommand()).thenReturn((int) ServerMessageBlock.SMB_COM_WRITE); when(mockRequest.getLength()).thenReturn(100); // Sign the data signDigest.sign(data, 0, data.length, mockRequest, null); // Create a new digest for verification with same key
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java
final int length = msg.getLength() - raxr.getDataLength(); update(data, index, length - SmbConstants.SIGNATURE_OFFSET - 8); update(raxr.getData(), raxr.getOffset(), raxr.getDataLength()); } else { update(data, index, msg.getLength() - SmbConstants.SIGNATURE_OFFSET - 8); } final byte[] signature = digest();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 11.9K bytes - Click Count (0) -
build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/precommit/LicenseHeadersTask.java
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu Sep 09 18:53:35 GMT 2021 - 10.6K bytes - Click Count (0) -
src/main/java/jcifs/pac/PacUnicodeString.java
this.maxLength = maxLength; this.pointer = pointer; } /** * Gets the actual length of the string in bytes. * * @return the string length */ public short getLength() { return this.length; } /** * Gets the maximum allocated length for the string in bytes. * * @return the maximum string length */ public short getMaxLength() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.9K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDescriptionRenderer.java
parent.appendChild(document.importNode(element, true)); } NodeList otherContent = classDoc.getClassSection().getChildNodes(); for (int i = 0; i < otherContent.getLength(); i++) { Node child = otherContent.item(i); if (child instanceof Element && !((Element) child).getTagName().equals("section")) { parent.appendChild(document.importNode(child, true));
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 4.1K bytes - Click Count (0) -
chainable_api.go
// advanced techniques like specifying lock strength and optimizer hints. See the // [docs] for more depth. // // // add a simple limit clause // db.Clauses(clause.Limit{Limit: 1}).Find(&User{}) // // tell the optimizer to use the `idx_user_name` index // db.Clauses(hints.UseIndex("idx_user_name")).Find(&User{}) // // specify the lock strength to UPDATE // db.Clauses(clause.Locking{Strength: "UPDATE"}).Find(&users) //
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Fri Sep 19 01:49:06 GMT 2025 - 14.8K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/LinkRenderer.java
public void visitType(String name) { linkElement.appendChild(addType(name, listener)); } }); linkElement.normalize(); if (linkElement.getChildNodes().getLength() == 1 && linkElement.getFirstChild() instanceof Element) { return linkElement.getFirstChild(); } return linkElement; }
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed May 21 06:20:45 GMT 2025 - 6.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/PluginHelper.java
final NodeList snapshotNodeList = doc.getElementsByTagName("snapshot"); if (snapshotNodeList.getLength() > 0) { final NodeList nodeList = snapshotNodeList.item(0).getChildNodes(); for (int i = 0; i < nodeList.getLength(); i++) { final Node node = nodeList.item(i); if ("timestamp".equalsIgnoreCase(node.getNodeName())) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Mar 04 15:19:41 GMT 2026 - 25.1K bytes - Click Count (0) -
src/test/java/jcifs/pac/PacUnicodeStringTest.java
assertNotNull(pacString, "The PacUnicodeString object should not be null."); // Verify that the getters return the correct values assertEquals(length, pacString.getLength(), "The length should match the value provided in the constructor."); assertEquals(maxLength, pacString.getMaxLength(), "The maxLength should match the value provided in the constructor.");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2Request.java
*/ @Override public int encode(final byte[] dst, final int dstIndex) { final int len = super.encode(dst, dstIndex); final int exp = size(); final int actual = getLength(); if (exp != actual) { // Log the size mismatch for debugging but don't throw exception // This can occur due to padding alignment differences between size8() and pad8()Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Mon Aug 25 14:34:10 GMT 2025 - 7.2K bytes - Click Count (0)