Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 171 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. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketWriter.kt

      private val sinkBuffer: Buffer = sink.buffer
      private var writerClosed = false
    
      /** Lazily initialized on first use. */
      private var messageDeflater: MessageDeflater? = null
    
      // Masks are only a concern for client writers.
      private val maskKey: ByteArray? = if (isClient) ByteArray(4) else null
      private val maskCursor: Buffer.UnsafeCursor? = if (isClient) Buffer.UnsafeCursor() else null
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 6K bytes
    - Viewed (0)
  4. 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)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt

      private val controlFrameBuffer = Buffer()
      private val messageFrameBuffer = Buffer()
    
      /** Lazily initialized on first use. */
      private var messageInflater: MessageInflater? = null
    
      // Masks are only a concern for server writers.
      private val maskKey: ByteArray? = if (isClient) null else ByteArray(4)
      private val maskCursor: Buffer.UnsafeCursor? = if (isClient) null else Buffer.UnsafeCursor()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 22:04:11 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  6. 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)
  7. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

                    .map(user -> user.hasRoles(roles) || user.hasRoles(ComponentUtil.getFessConfig().getAuthenticationAdminRolesAsArray()))
                    .orElse(false);
        }
    
        /**
         * Masks email addresses in the input string for privacy protection.
         *
         * @param value the string that may contain email addresses
         * @return string with email addresses replaced by masked pattern
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.3K bytes
    - Viewed (1)
  8. 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)
  9. docs/uk/docs/tutorial/background-tasks.md

    {* ../../docs_src/background_tasks/tutorial001.py hl[6:9] *}
    
    ## Додавання фонової задачі
    
    Усередині Вашої *функції обробки шляху*, передайте функцію задачі в об'єкт *background tasks*, використовуючи метод `.add_task()`:
    
    {* ../../docs_src/background_tasks/tutorial001.py hl[14] *}
    
    `.add_task()` приймає аргументи:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri May 30 13:34:53 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  10. 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)
Back to top