- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 4,002 for Hint (0.02 sec)
-
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraph.java
/** * init graph */ private void init(int nVertices, int nEdges) { int nV = nVertices; if (nVertices < 1) { nV = 1; } checkVertices(nV); int nE = nVertices; if (nEdges <= nV) { nE = 2 * nE; } checkEdges(nE); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 13K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java
void testWriteSetupWireFormat() { // Given trans2GetDfsReferral = new Trans2GetDfsReferral(mockConfig, "test"); byte[] dst = new byte[10]; int dstIndex = 0; // When int bytesWritten = trans2GetDfsReferral.writeSetupWireFormat(dst, dstIndex); // Then assertEquals(2, bytesWritten); assertEquals(SmbComTransaction.TRANS2_GET_DFS_REFERRAL, dst[0]);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaConnection.java
* @param length number of bytes to read * @return number of bytes actually read * @throws IOException if read operation fails */ public abstract int read(ByteBuffer buffer, long remoteAddress, int remoteKey, int length) throws IOException; /** * Write data to RDMA connection * * @param buffer buffer containing data to writeRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 8.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java
// Given int sid = 0x1234; int resumeKey = 0x89ABCDEF; // LE expected: EF CD AB 89 String name = "file.txt"; Trans2FindNext2 next = new Trans2FindNext2(sid, resumeKey, name); int expectedLen = 2 + 2 + 2 + 4 + 2 + name.length() + 1; byte[] dst = new byte[expectedLen]; // When int len = next.writeParametersWireFormat(dst, 0);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0) -
tests/associations_test.go
} } func TestForeignKeyConstraints(t *testing.T) { tidbSkip(t, "not support the foreign key feature") type Profile struct { ID uint Name string MemberID uint } type Member struct { ID uint Refer uint `gorm:"uniqueIndex"` Name string Profile Profile `gorm:"Constraint:OnUpdate:CASCADE,OnDelete:CASCADE;FOREIGNKEY:MemberID;References:Refer"` }
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Fri Sep 12 04:33:27 UTC 2025 - 13.3K bytes - Viewed (0) -
src/test/java/jcifs/NetbiosNameTest.java
int browserType = 0x01; when(mockNetbiosName.getNameType()).thenReturn(browserType); // When int type = mockNetbiosName.getNameType(); // Then assertEquals(browserType, type); } @Test @DisplayName("Should handle domain master browser") void testDomainMasterBrowser() { // Given int domainMasterType = 0x1B;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NbtSocket.java
*/ public class NbtSocket extends Socket { private static final int SSN_SRVC_PORT = 139; private static final int BUFFER_SIZE = 512; private static final int DEFAULT_SO_TIMEOUT = 5000; private static LogStream log = LogStream.getInstance(); private NbtAddress address; private Name calledName; private int soTimeout; /** * Constructs an unconnected NbtSocket. */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java
byte[] buffer = new byte[256]; int bufferIndex = 0; // Set wordCount to non-zero setFieldValue(response, "wordCount", 10); // Write test data to buffer int fileAttributes = 0x0021; // FILE_ATTRIBUTE_READONLY | FILE_ATTRIBUTE_ARCHIVE long lastWriteTime = System.currentTimeMillis(); int fileSize = 12345678;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacDataInputStream.java
* @param mask the alignment mask (typically 2, 4, or 8) * @throws IOException if an I/O error occurs */ public void align(final int mask) throws IOException { final int position = this.size - this.dis.available(); final int shift = position & mask - 1; if (mask != 0 && shift != 0) { this.dis.skip(mask - shift); } } /**
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7.5K bytes - Viewed (0)