Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 251 for 0x200 (0.02 sec)

  1. android/guava/src/com/google/common/xml/XmlEscapers.java

     *
     * @author Alex Matevossian
     * @author David Beaumont
     * @since 15.0
     */
    @GwtCompatible
    public class XmlEscapers {
      private XmlEscapers() {}
    
      private static final char MIN_ASCII_CONTROL_CHAR = 0x00;
      private static final char MAX_ASCII_CONTROL_CHAR = 0x1F;
    
      // For each xxxEscaper() method, please add links to external reference pages
      // that are considered authoritative for the behavior of that escaper.
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jun 20 17:15:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java

            this.flags0 |= fl;
        }
    
        @Override
        protected int writeParameterWordsWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            dst[dstIndex] = (byte) 0x00;
            dstIndex++;
            // name length without counting null termination
            this.namelen_index = dstIndex;
            dstIndex += 2;
            SMBUtil.writeInt4(this.flags0, dst, dstIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SpnegoContextTest.java

            assertEquals(0, cap.getValue().length, "Optimistic token must be zero-length");
        }
    
        @ParameterizedTest
        @ValueSource(bytes = { 0x00, 0x7F, (byte) 0xFF })
        @DisplayName("initSecContext throws on invalid token type")
        void testInitSecContextInvalidTokenType(byte firstByte) throws Exception {
            SpnegoContext ctx = newContext();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java

            void testReadBytesWireFormatSignedByteValue() {
                // Given
                byte[] buffer = new byte[10];
                // Write 4 in little-endian format
                buffer[0] = 0x04;
                buffer[1] = 0x00;
    
                // When & Then
                assertDoesNotThrow(() -> {
                    int bytesRead = response.readBytesWireFormat(buffer, 0);
                    assertEquals(4, bytesRead);
                });
            }
    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. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

      }
    
      public void testBase32InvalidDecodings() {
        // These contain bytes not in the decodabet.
        assertFailsToDecode(base32(), "A ", "Unrecognized character: 0x20");
        assertFailsToDecode(base32(), "Wf2!", "Unrecognized character: f");
        // This sentence just isn't base32() encoded.
        assertFailsToDecode(base32(), "let's not talk of love or chains!");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

            assertTrue(n > 0);
            // Common AndX header: command at +1, reserved at +2, offset at +3/+4
            assertEquals((byte) 0xFF, buf[1], "AndX command should be 0xFF when no chaining");
            assertEquals((byte) 0x00, buf[2], "Reserved byte must be 0");
            assertEquals((byte) 0xDE, buf[3], "Sentinel low offset when no chaining");
            assertEquals((byte) 0xDE, buf[4], "Sentinel high offset when no chaining");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  7. cmd/xl-storage-format-v2_gen.go

    	// check for omitted fields
    	zb0001Len := uint32(18)
    	var zb0001Mask uint32 /* 18 bits */
    	_ = zb0001Mask
    	if z.PartIndices == nil {
    		zb0001Len--
    		zb0001Mask |= 0x2000
    	}
    	// variable map header, size zb0001Len
    	err = en.WriteMapHeader(zb0001Len)
    	if err != nil {
    		return
    	}
    
    	// skip if no fields are to be emitted
    	if zb0001Len != 0 {
    		// write "ID"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Dec 15 22:50:12 UTC 2024
    - 56K bytes
    - Viewed (0)
  8. src/main/java/jcifs/util/ServerResponseValidator.java

            }
    
            // Check for control characters
            for (int i = 0; i < str.length(); i++) {
                char c = str.charAt(i);
                if (c < 0x20 && c != '\t' && c != '\r' && c != '\n') {
                    failedValidations.incrementAndGet();
                    log.warn("{} contains control characters", fieldName);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbFileHandleImplTest.java

            stubValidTree(1L, true, true);
    
            byte[] fidBytes = new byte[] { 0x01, 0x02 };
            SmbFileHandleImpl h1 = new SmbFileHandleImpl(cfg, fidBytes, tree, "//u/one", 0x10, 0x20, 0x30, 0x40, 0L);
            String s1 = h1.toString();
            assertTrue(s1.contains("//u/one"));
            assertTrue(s1.contains("0102"), "Expected hex fileId in string");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java

            assertArrayEquals(maxFileId, copiedFileId);
    
            // Test with file ID having minimum byte values
            byte[] minFileId = new byte[16];
            Arrays.fill(minFileId, (byte) 0x00);
            Smb2FlushRequest minRequest = new Smb2FlushRequest(mockConfig, minFileId);
    
            written = minRequest.writeBytesWireFormat(buffer, 0);
    
            assertEquals(24, written);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
Back to top