Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 85 for masks (0.02 sec)

  1. src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java

        }
    
        /**
         * Validate that the constructor masks the supplied value to its
         * lowest 8 bits (NdrShort incorrectly masks to 8 bits even though it's a short).
         */
        @ParameterizedTest
        @ValueSource(ints = { 0, 1, 255, -1, 256, 65535 })
        void constructorMasksValue(int input) {
            NdrShort ns = new NdrShort(input);
            // NdrShort masks to 0xFF (8 bits) in its constructor
            int expected = input & 0xFF;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrConnect2Test.java

            // Then
            assertNotNull(msrpcSamrConnect2, "Should handle null server name");
        }
    
        @Test
        @DisplayName("Should work with different access masks")
        void shouldWorkWithDifferentAccessMasks() {
            // Test with different access masks
            int[] accessMasks = { 0x00000001, // SAM_SERVER_CONNECT
                    0x00000002, // SAM_SERVER_SHUTDOWN
                    0x00000004, // SAM_SERVER_INITIALIZE
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/Strings.java

                len++;
                if (len > maxLen) {
                    throw new RuntimeCIFSException("zero termination not found");
                }
            }
            return len;
        }
    
        /**
         * Masks sensitive values in a string for security purposes.
         *
         * @param value the string potentially containing sensitive information
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbEnumerationUtilTest.java

            @DisplayName("DosFileFilter wildcard and attributes are preserved through unwrap")
            void dosFileFilter_preservesFieldsThroughUnwrap() throws Exception {
                // Test with various wildcard patterns and attribute masks
                String[] wildcards = { "*.txt", "test*", null };
                int[] attributes = { 0x10, 0x20, 0x07 };
    
                for (int i = 0; i < wildcards.length; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/background-tasks.md

    # Background Tasks { #background-tasks }
    
    You can define background tasks to be run *after* returning a response.
    
    This is useful for operations that need to happen after a request, but that the client doesn't really have to be waiting for the operation to complete before receiving the response.
    
    This includes, for example:
    
    * Email notifications sent after performing an action:
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/Striped.java

        final int mask;
    
        PowerOfTwoStriped(int stripes) {
          Preconditions.checkArgument(stripes > 0, "Stripes must be positive");
          this.mask = stripes > Ints.MAX_POWER_OF_TWO ? ALL_SET : ceilToPowerOfTwo(stripes) - 1;
        }
    
        @Override
        final int indexFor(Object key) {
          int hash = smear(key.hashCode());
          return hash & mask;
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

        end
    
        operation ->> client: Return response to client
        Note over client,operation: Response is already sent, can't change it anymore
        opt Tasks
            operation -->> tasks: Send background tasks
        end
        opt Raise other exception
            tasks -->> tasks: Handle exceptions in the background task code
        end
    ```
    
    /// info
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/CompactHashMap.java

        int hash = smearedHash(key);
        int mask = hashTableMask();
        int tableIndex = hash & mask;
        int next = CompactHashing.tableGet(requireTable(), tableIndex);
        if (next == UNSET) { // uninitialized bucket
          if (newSize > mask) {
            // Resize and add new entry
            mask = resizeTable(mask, CompactHashing.newCapacity(mask), hash, newEntryIndex);
          } else {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 35.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/dtyp/ACETest.java

            testBuffer[2] = 0x20; // Size low byte (32)
            testBuffer[3] = 0x00; // Size high byte
            testBuffer[4] = (byte) 0xA9; // Access mask byte 0
            testBuffer[5] = 0x00; // Access mask byte 1
            testBuffer[6] = 0x12; // Access mask byte 2
            testBuffer[7] = 0x00; // Access mask byte 3
    
            // Add minimal SID data (S-1-1-0 - Everyone)
            testBuffer[8] = 0x01; // Revision
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  10. cmd/bucket-lifecycle.go

    	objAPI ObjectLayer
    
    	stats expiryStats
    }
    
    // PendingTasks returns the number of pending ILM expiry tasks.
    func (es *expiryState) PendingTasks() int {
    	w := es.workers.Load()
    	if w == nil || len(*w) == 0 {
    		return 0
    	}
    	var tasks int
    	for _, wrkr := range *w {
    		tasks += len(wrkr)
    	}
    	return tasks
    }
    
    // enqueueTierJournalEntry enqueues a tier journal entry referring to a remote
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 33.7K bytes
    - Viewed (0)
Back to top