Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 246 for encodedCh (0.06 sec)

  1. src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java

            assertEquals(1, SMBUtil.readInt2(buffer, 8));
            assertEquals(1, SMBUtil.readInt2(buffer, 10));
        }
    
        /**
         * Test that a large file lock (bit 0x10 set) is encoded and decoded correctly.
         */
        @ParameterizedTest
        @ValueSource(ints = { 0x10, 0x11 })
        void largeFileFlagSet_and_decoded_according_to_type(int type) throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  2. src/main/webapp/WEB-INF/fe.tld

        <example>
          ${fe:facetQueryViewList()}
        </example>
      </function>
    
      <function>
        <description>
          Returns base64 encoded value.
        </description>
        <name>base64</name>
        <function-class>org.codelibs.fess.taglib.FessFunctions</function-class>
        <function-signature>java.lang.String base64(java.lang.String)</function-signature>
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jan 18 11:38:54 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/msrpc/lsarpcIntegrationTest.java

            assertNotNull(decodedName.name);
            assertNotNull(decodedName.name.buffer);
            // Buffer length is based on maximum_length/2 from the encoded data
            assertEquals(translatedName.name.maximum_length / 2, decodedName.name.buffer.length);
            // Verify the actual string content
            for (int i = 0; i < translatedName.name.buffer.length; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/fscc/FileStandardInfoTest.java

            int dstIndex = 3; // Start at offset 3
            int bytesEncoded = fileStandardInfo.encode(destinationBuffer, dstIndex);
    
            // Verify
            assertEquals(22, bytesEncoded);
    
            // Verify encoded data
            assertEquals(expectedAllocationSize, SMBUtil.readInt8(destinationBuffer, dstIndex));
            assertEquals(expectedEndOfFile, SMBUtil.readInt8(destinationBuffer, dstIndex + 8));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  5. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt

      return IdnaMappingTableData(
        sections = sectionIndexBuffer.readUtf8(),
        ranges = rangesBuffer.readUtf8(),
        mappings = mappingsBuffer.toString(),
      )
    }
    
    /**
     * If [mapping] qualifies to be encoded as [MappedRange.InlineDelta] return new instance, otherwise null.
     * An [MappedRange.InlineDelta] must be a mapping from a single code-point to a single code-point with a difference
     * that can be represented in 2^18-1.
     */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

            assertEquals(fid & 0xFFFF, actualFid);
        }
    
        @Test
        @DisplayName("Test writeDataWireFormat")
        void testWriteDataWireFormat() {
            // Setup mock to return encoded size
            when(mockFileInfo.encode(any(byte[].class), anyInt())).thenReturn(40);
    
            trans2SetFileInfo = new Trans2SetFileInformation(config, TEST_FID, mockFileInfo);
    
            byte[] buffer = new byte[512];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MediaType.kt

      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "subtype"),
        level = DeprecationLevel.ERROR,
      )
      fun subtype(): String = subtype
    
      /**
       * Returns the encoded media type, like "text/plain; charset=utf-8", appropriate for use in a
       * Content-Type header.
       */
      override fun toString(): String = mediaType
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:51:08 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/util/Encdec.java

                        di++;
                    }
                    dst[di++] = (byte) (0x80 | ch >> 0 & 0x3F);
                }
            }
    
            return di - start;
        }
    
        /**
         * Decodes a UTF-8 encoded string from a byte array.
         *
         * @param src the source byte array
         * @param si the starting index in the source array
         * @param slim the limit index in the source array
         * @return the decoded String
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateResponse.java

            idx += 4;
            response.maxFragmentedSize = SMBUtil.readInt4(data, idx);
            idx += 4;
    
            return response;
        }
    
        /**
         * Encode to byte array
         *
         * @return encoded message
         */
        public byte[] encode() {
            byte[] data = new byte[32];
    
            int idx = 0;
            SMBUtil.writeInt2(minVersion, data, idx);
            idx += 2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/CharSink.java

     * character encoding} using {@link ByteSink#asCharSink(Charset)}. Characters written to the
     * resulting {@code CharSink} will written to the {@code ByteSink} as encoded bytes.
     *
     * @since 14.0
     * @author Colin Decker
     */
    @J2ktIncompatible
    @GwtIncompatible
    public abstract class CharSink {
    
      /** Constructor for use by subclasses. */
      protected CharSink() {}
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:07:06 UTC 2025
    - 6.7K bytes
    - Viewed (0)
Back to top