- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 442 for Flags (0.02 seconds)
-
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java
@MethodSource("provideFlagCombinations") void testShareFlagCombinations(int flags, boolean expectedDfs) throws SMBProtocolDecodingException { // Given byte[] buffer = createValidResponseBuffer(0, flags, 0, 0); // When response.readBytesWireFormat(buffer, 0); // Then assertEquals(flags, response.getShareFlags()); assertEquals(expectedDfs, response.isShareDfs());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 19.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/witness/WitnessRegistration.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Mon Aug 25 14:34:10 GMT 2025 - 6.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbNamedPipeTest.java
@DisplayName("Second constructor sets unshared based on flags") void secondCtorUnsharedFlagPath() throws Exception { // Arrange: include UNSHARED flag to exercise that branch int flags = SmbPipeResource.PIPE_TYPE_RDWR | SmbPipeResource.PIPE_TYPE_UNSHARED; // Act SmbNamedPipe pipe = new SmbNamedPipe("smb://server/IPC$/foo", flags, ctx());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.2K bytes - Click Count (0) -
src/test/java/jcifs/ntlmssp/NtlmMessageTest.java
void testGetAndSetFlags() { // Test setting and getting flags int testFlags = 0x12345678; message.setFlags(testFlags); assertEquals(testFlags, message.getFlags(), "Flags should be set and retrieved correctly."); } @Test void testGetFlag() { // Test getting individual flags message.setFlags(0b1010); // Set flags: 8 (0x8) and 2 (0x2)
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.5K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/DcerpcMessage.java
} /** * Gets the flags of this DCERPC message * @return the message flags */ public int getFlags() { return flags; } /** * Check if a specific flag is set. * @param flag the flag to check * @return whether flag is set */ public boolean isFlagSet(final int flag) { return (this.flags & flag) == flag; } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.3K bytes - Click Count (0) -
tensorflow/c/c_api_experimental.cc
// These XLA flags are needed to trigger XLA properly from C (more generally // non-Python) clients. If this API is called again with `enable` set to // false, it is safe to keep these flag values as is. tensorflow::MarkForCompilationPassFlags* flags = tensorflow::GetMarkForCompilationPassFlags(); flags->tf_xla_cpu_global_jit = true; flags->tf_xla_min_cluster_size = 1; } else {Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 04 05:55:32 GMT 2025 - 29.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextRequest.java
} /** * Gets the lease flags for this V2 request * @return the lease flags */ public int getLeaseFlags() { return leaseFlags; } /** * Sets the lease flags for this V2 request * @param leaseFlags the lease flags to set */ public void setLeaseFlags(int leaseFlags) { this.leaseFlags = leaseFlags; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 6.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java
// flags is NOT the same as flags member /** * Constructs an Open AndX request. * * @param config the configuration * @param fileName the name of the file to open * @param access the desired access mode * @param shareAccess the share access mode * @param flags the open flags * @param fileAttributes the file attributesCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java
assertTrue(req instanceof ServerMessageBlock2); } @Test @DisplayName("Should set notify flags correctly") void testSetNotifyFlags() throws Exception { // Given int flags = Smb2ChangeNotifyRequest.SMB2_WATCH_TREE; // When request.setNotifyFlags(flags); // Then Field notifyFlagsField = Smb2ChangeNotifyRequest.class.getDeclaredField("notifyFlags");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.1K bytes - Click Count (0) -
src/main/java/jcifs/ntlmssp/Type3Message.java
boolean end = false; int flags; String charset; if (lmResponseOffset < pos + 12 || ntResponseOffset < pos + 12 || domainOffset < pos + 12 || userOffset < pos + 12 || workstationOffset < pos + 12) { // no room for SK/Flags flags = NTLMSSP_NEGOTIATE_NTLM | NTLMSSP_NEGOTIATE_OEM; setFlags(flags); charset = getOEMEncoding();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 32.7K bytes - Click Count (0)