Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 318 for Masked (0.03 sec)

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

            }
    
            @Test
            @DisplayName("Should handle masked value round-trip correctly")
            void testMaskedValueRoundTrip() throws NdrException {
                // Given: Original value that gets masked
                int originalValue = 300; // Will be masked to 44
                int maskedValue = originalValue & 0xFF; // 44
                NdrShort ndrShort1 = new NdrShort(originalValue);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java

            trans2FindFirst2 = new Trans2FindFirst2(mockConfig, "\\test", "*.*", searchAttributes, 10, 1024);
    
            // Verify attributes are masked with 0x37
            int expectedAttributes = searchAttributes & 0x37;
    
            // Write parameters to verify the masked value is used
            byte[] buffer = new byte[100];
            int written = trans2FindFirst2.writeParametersWireFormat(buffer, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt

        val isMasked = b1 and B1_FLAG_MASK != 0
        if (isMasked == isClient) {
          // Masked payloads must be read on the server. Unmasked payloads must be read on the client.
          throw ProtocolException(
            if (isClient) {
              "Server-sent frames must not be masked."
            } else {
              "Client-sent frames must be masked."
            },
          )
        }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 22:04:11 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/audit/SecurityAuditLogger.java

                    masked.put(entry.getKey(), "****");
                } else if (value instanceof String) {
                    masked.put(entry.getKey(), maskSensitiveData((String) value));
                } else {
                    masked.put(entry.getKey(), value);
                }
            }
    
            return masked;
        }
    
        private String maskUsername(String username) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketReaderTest.kt

            .isEqualTo("Client-sent frames must be masked.")
        }
      }
    
      @Test fun serverSentFramesMustNotBeMasked() {
        data.write("8180".decodeHex())
        assertFailsWith<ProtocolException> {
          clientReader.processNextFrame()
        }.also { expected ->
          assertThat(expected.message)
            .isEqualTo("Server-sent frames must not be masked.")
        }
      }
    
      @Test fun controlFramePayloadMax() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt

        client.webSocket!!.close(1000, "Hello")
        server.processNextFrame()
        // Not closed until close reply is received.
        assertThat(client.closed).isFalse()
    
        // Manually write an invalid masked close frame.
        server.sink.write("888760b420bb635c68de0cd84f".decodeHex()).emit()
        client.processNextFrame() // Detects error, disconnects immediately since close already sent.
        client.webSocket!!.finishReader()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/cache/Striped64.java

    @GwtIncompatible
    abstract class Striped64 extends Number {
      /*
       * This class maintains a lazily-initialized table of atomically
       * updated variables, plus an extra "base" field. The table size
       * is a power of two. Indexing uses masked per-thread hash codes.
       * Nearly all declarations in this class are package-private,
       * accessed directly by subclasses.
       *
       * Table entries are of class Cell; a variant of AtomicLong padded
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jan 15 22:17:15 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java

            assertEquals(expectedType, info.getType());
        }
    
        @Test
        @DisplayName("Test getType with hidden flag")
        void testGetTypeWithHiddenFlag() {
            // Hidden flag (0x80000000) should be masked out
            int hiddenPrinterType = 0x80000001; // Hidden printer
            SmbShareInfo info = new SmbShareInfo(TEST_NET_NAME, hiddenPrinterType, TEST_REMARK);
            assertEquals(SmbConstants.TYPE_PRINTER, info.getType());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  9. api/go1.18.txt

    pkg net/netip, method (Prefix) IsValid() bool
    pkg net/netip, method (Prefix) MarshalBinary() ([]uint8, error)
    pkg net/netip, method (Prefix) MarshalText() ([]uint8, error)
    pkg net/netip, method (Prefix) Masked() Prefix
    pkg net/netip, method (Prefix) Overlaps(Prefix) bool
    pkg net/netip, method (Prefix) String() string
    pkg net/netip, type Addr struct
    pkg net/netip, type AddrPort struct
    pkg net/netip, type Prefix struct
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 13K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

        }
    
        /**
         * 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
         */
        public static String maskEmail(final String value) {
            if (value == null) {
                return StringUtil.EMPTY;
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.3K bytes
    - Viewed (1)
Back to top