Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 263 for Conversion (0.05 sec)

  1. src/test/java/jcifs/internal/util/SMBUtilTest.java

            for (long time : testTimes) {
                SMBUtil.writeTime(time, buffer, 0);
                long readTime = SMBUtil.readTime(buffer, 0);
    
                // Account for precision loss in conversion
                long expectedTime = ((time + SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601) * 10000L) / 10000L
                        - SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/Strings.java

    import java.nio.charset.Charset;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.Configuration;
    import jcifs.RuntimeCIFSException;
    
    /**
     * Utility class for string manipulation and conversion operations in the jCIFS library.
     * Provides methods for encoding, decoding, and manipulating strings in SMB operations.
     *
     * @author mbechler
     */
    public final class Strings {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java

        public void testByteOperations() {
            // Test byte operations that were used in the original test
            byte b = (byte) 0xFF;
            int value = b & 0xFF;
            assertEquals(255, value, "Byte to unsigned conversion should work");
    
            // Test comparison operation
            assertTrue(value == 255, "Comparison should work correctly");
        }
    
        /**
         * Encode a string as 16-bit little-endian Unicode
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/header-param-models.md

    For example, if you have a header parameter `save_data` in the code, the expected HTTP header will be `save-data`, and it will show up like that in the docs.
    
    If for some reason you need to disable this automatic conversion, you can do it as well for Pydantic models for header parameters.
    
    {* ../../docs_src/header_param_models/tutorial003_an_py310.py hl[19] *}
    
    /// warning
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/NullnessCasts.java

    @GwtCompatible
    final class NullnessCasts {
      /**
       * Accepts a {@code @Nullable T} and returns a plain {@code T}, without performing any check that
       * that conversion is safe.
       *
       * <p>This method is intended to help with usages of type parameters that have {@linkplain
       * ParametricNullness parametric nullness}. If a type parameter instead ranges over only non-null
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 13 20:49:47 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/webconfig/CreateForm.java

    import org.codelibs.fess.validation.UriType;
    import org.codelibs.fess.validation.UriTypeValidator.ProtocolType;
    import org.lastaflute.web.validation.Required;
    import org.lastaflute.web.validation.theme.conversion.ValidateTypeFailure;
    
    import jakarta.validation.constraints.Max;
    import jakarta.validation.constraints.Min;
    import jakarta.validation.constraints.Size;
    
    /**
     * The create form for Web Config.
     *
     */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Converter.java

       *
       * @param b the instance to convert; will never be null
       * @return the converted instance; <b>must not</b> be null
       * @throws UnsupportedOperationException if backward conversion is not implemented; this should be
       *     very rare. Note that if backward conversion is not only unimplemented but
       *     unimplement<i>able</i> (for example, consider a {@code Converter<Chicken, ChickenNugget>}),
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 18 21:43:06 UTC 2025
    - 22.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

                assertArrayEquals(maxFileId, maxIdResponse.getFileId());
            }
        }
    
        @Nested
        @DisplayName("Time Conversion Tests")
        class TimeConversionTests {
    
            @Test
            @DisplayName("Should correctly handle SMB time format conversion")
            void testSmbTimeFormatConversion() throws SMBProtocolDecodingException {
                // Given
                byte[] buffer = new byte[60];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Supplier.java

     * <i>other type</i> of supplier is expected, use the method reference {@code supplier::get}. A
     * future version of {@code com.google.common.base.Supplier} will be made to <i>extend</i> {@code
     * java.util.function.Supplier}, making conversion code necessary only in one direction. At that
     * time, this interface will be officially discouraged.
     *
     * @author Harry Heymann
     * @since 2.0
     */
    @GwtCompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jun 19 17:20:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/UUID.java

     */
    
    package jcifs.smb1.dcerpc;
    
    /**
     * Represents a DCE/RPC UUID (Universally Unique Identifier).
     * This class provides methods for UUID string parsing and binary conversion.
     */
    public class UUID extends rpc.uuid_t {
    
        /**
         * Convert hexadecimal characters to binary integer
         *
         * @param arr the character array containing hex digits
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
Back to top