Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 499 for preserve (0.05 sec)

  1. android/guava/src/com/google/common/graph/PredecessorsFunction.java

       * if the returned {@link Iterable} contains duplicate elements. Implementations of such
       * algorithms should document their behavior in the presence of duplicates.
       *
       * <p>The elements of the returned {@code Iterable} must each be:
       *
       * <ul>
       *   <li>Non-null
       *   <li>Usable as {@code Map} keys (see the Guava User Guide's section on <a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/SuccessorsFunction.java

       * if the returned {@link Iterable} contains duplicate elements. Implementations of such
       * algorithms should document their behavior in the presence of duplicates.
       *
       * <p>The elements of the returned {@code Iterable} must each be:
       *
       * <ul>
       *   <li>Non-null
       *   <li>Usable as {@code Map} keys (see the Guava User Guide's section on <a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/spnego/NegTokenTargTest.java

            assertThrows(IOException.class, () -> new NegTokenTarg(bad), "Malformed byte[] should cause IOException");
        }
    
        @Test
        @DisplayName("mechanism token empty array – preserved after round‑trip")
        void testEmptyMechanismToken() throws IOException {
            NegTokenTarg nt = new NegTokenTarg();
            nt.setResult(NegTokenTarg.REQUEST_MIC);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/persistent/DurableHandleRequest.java

        private static final byte[] CONTEXT_NAME_BYTES = CONTEXT_NAME.getBytes();
        private static final int STRUCTURE_SIZE = 16;
    
        private long reserved; // Must be zero
    
        /**
         * Create a new durable handle request
         */
        public DurableHandleRequest() {
            this.reserved = 0;
        }
    
        @Override
        public byte[] getName() {
            return CONTEXT_NAME_BYTES;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/xml/XmlEscapers.java

       * the XML specification.
       *
       * <p>This escaper does not escape non-ASCII characters to their numeric character references
       * (NCR). Any non-ASCII characters appearing in the input will be preserved in the output.
       * Specifically "\r" (carriage return) is preserved in the output, which may result in it being
       * silently converted to "\n" when the XML is parsed.
       *
       * <p>This escaper does not treat surrogate pairs specially and does not perform Unicode
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jun 20 17:15:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java

            // dataDisplacement (4 bytes)
            SMBUtil.writeInt4(0, buffer, bufferIndex + 31);
    
            // setupCount (1 byte) + 1 reserved byte
            buffer[bufferIndex + 35] = 0x00; // setupCount = 0
            buffer[bufferIndex + 36] = 0x00; // reserved
    
            int bytesRead = response.readParameterWordsWireFormat(buffer, bufferIndex);
    
            // Verify the correct number of bytes were read (37 bytes total)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/fscc/FileInformationTest.java

            FileEndOfFileInformation decoded = new FileEndOfFileInformation();
            int decodedBytes = decoded.decode(buffer, 0, 8);
            assertEquals(8, decodedBytes);
    
            // Verify the round trip preserves the value
            // Note: We can't directly access endOfFile field, but toString contains it
            assertEquals(original.toString(), decoded.toString());
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java

            response.getServerData().maxBufferSize = 16384;
    
            assertTrue(response.isValid(mockContext, request));
            // After negotiation, check if unicode capability is preserved
            assertTrue((response.getNegotiatedCapabilities() & SmbConstants.CAP_UNICODE) != 0);
        }
    
        @Test
        public void testIsValidWithInvalidDialect() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequestTest.java

            for (int i = 0; i < manyDialects.length; i++) {
                assertEquals(manyDialects[i], SMBUtil.readInt2(buffer, 24 + i * 2));
            }
        }
    
        @Test
        @DisplayName("Test encode preserves dialect order")
        void testEncodePreservesDialectOrder() {
            // Use dialects in specific order
            int[] orderedDialects = new int[] { 0x0311, 0x0302, 0x0300, 0x0210, 0x0202 };
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDesc.java

            final int start = dstIndex;
    
            SMBUtil.writeInt2(this.fid, dst, dstIndex);
            dstIndex += 2;
            dst[dstIndex] = (byte) 0x00; // Reserved
            dstIndex++;
            dst[dstIndex++] = (byte) 0x00; // Reserved
            SMBUtil.writeInt4(this.securityInformation, dst, dstIndex);
            dstIndex += 4;
            return dstIndex - start;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
Back to top