Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 505 for tflags (0.09 seconds)

  1. src/test/java/jcifs/smb/SmbTransportImplTest.java

            assertNull(transport.getServerEncryptionKey());
        }
    
        @Test
        @DisplayName("Signing enforced/optional adhere to flags and negotiation")
        void signingModes() throws Exception {
            // Enforced via constructor flag -> optional false, enforced true regardless of negotiation
            SmbTransportImpl enforced = new SmbTransportImpl(ctx, address, 445, null, 0, true);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.6K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/smb2/lock/Smb2Lock.java

         * @param length the number of bytes to lock
         * @param flags the lock flags (combination of SMB2_LOCKFLAG_* constants)
         */
        public Smb2Lock(final long offset, final long length, final int flags) {
            this.offset = offset;
            this.length = length;
            this.flags = flags;
    
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#size()
         */
        @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            }
        }
    
        void send(final ServerMessageBlock request, final ServerMessageBlock response) throws SmbException {
    
            connect(); /* must negotiate before we can test flags2, useUnicode, etc */
    
            request.flags2 |= flags2;
            request.useUnicode = useUnicode;
            request.response = response; /* needed by sign */
            if (request.digest == null) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 31.8K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java

        @Test
        @DisplayName("Test flag checking with bitwise AND")
        void testFlagChecking() {
            int flags = SecurityInfo.OWNER_SECURITY_INFO | SecurityInfo.DACL_SECURITY_INFO;
    
            // Test presence of flags
            assertTrue((flags & SecurityInfo.OWNER_SECURITY_INFO) != 0);
            assertTrue((flags & SecurityInfo.DACL_SECURITY_INFO) != 0);
    
            // Test absence of flags
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/witness/MockWitnessService.java

            final String serverAddress;
            final int flags;
            final long timestamp;
    
            MockRegistration(String registrationId, String shareName, String serverAddress, int flags) {
                this.registrationId = registrationId;
                this.shareName = shareName;
                this.serverAddress = serverAddress;
                this.flags = flags;
                this.timestamp = System.currentTimeMillis();
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  6. CHANGELOG/CHANGELOG-1.23.md

    - Controller-manager: the following flags have no effect and would be removed in v1.24:
      - `--port`
      - `--address`
      The insecure port flags `--port` may only be set to 0 now.
    - Kube-scheduler: the `--port` and `--address` flags have no effect and would be removed in v1.24.
      The insecure port flags `--port` may only be set to 0 now.
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Tue Feb 28 21:06:52 GMT 2023
    - 424.5K bytes
    - Click Count (0)
  7. src/test/java/jcifs/FileNotifyInformationTest.java

                // Check that no two flags overlap (except combined flags)
                for (int i = 0; i < flags.length; i++) {
                    for (int j = i + 1; j < flags.length; j++) {
                        assertEquals(0, flags[i] & flags[j], String.format("Flags at index %d and %d should not overlap", i, j));
                    }
                }
            }
        }
    
    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)
  8. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

        }
    
        @DisplayName("Should handle various share flag combinations")
        @ParameterizedTest
        @MethodSource("provideFlagCombinations")
        void testShareFlagCombinations(int flags, boolean expectedDfs) throws SMBProtocolDecodingException {
            // Given
            byte[] buffer = createValidResponseBuffer(0, flags, 0, 0);
    
            // When
            response.readBytesWireFormat(buffer, 0);
    
    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)
  9. 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)
  10. 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)
Back to Top