Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for length_is (0.09 sec)

  1. src/main/java/jcifs/dcerpc/rpc.idl

    	/*
    	 * typedef struct _UNICODE_STRING
    	 *     USHORT Length;
    	 *     USHORT MaximumLength;
    	 *     [size_is(MaximumLength / 2), length_is((Length) / 2) ] USHORT *  Buffer;
    	 * } UNICODE_STRING;
    	 */
    
    	typedef struct {
    		uint16_t length;
    		uint16_t maximum_length;
    		[length_is(length / 2),size_is(maximum_length / 2)] uint16_t *buffer;
    	} unicode_string;
    
    	/* 
    	 * typedef struct _SID_IDENTIFIER_AUTHORITY {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/rpc.idl

    	/*
    	 * typedef struct _UNICODE_STRING
    	 *     USHORT Length;
    	 *     USHORT MaximumLength;
    	 *     [size_is(MaximumLength / 2), length_is((Length) / 2) ] USHORT *  Buffer;
    	 * } UNICODE_STRING;
    	 */
    
    	typedef struct {
    		uint16_t length;
    		uint16_t maximum_length;
    		[length_is(length / 2),size_is(maximum_length / 2)] uint16_t *buffer;
    	} unicode_string;
    
    	/* 
    	 * typedef struct _SID_IDENTIFIER_AUTHORITY {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 1.4K bytes
    - Viewed (0)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt

              }
    
              var lengthBits = source.readByte().toLong() and 0xff
              if (lengthBits == 0L || lengthBytes == 1 && lengthBits and 0b1000_0000 == 0L) {
                throw ProtocolException("invalid encoding for length")
              }
    
              for (i in 1 until lengthBytes) {
                lengthBits = lengthBits shl 8
                lengthBits += source.readByte().toInt() and 0xff
              }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt

          val sources = mutableListOf<Source>()
          val lengths = this.lengths.clone() // Defensive copy since these can be zeroed out.
          try {
            for (i in 0 until valueCount) {
              sources += newSource(i)
            }
            return Snapshot(key, sequenceNumber, sources, lengths)
          } catch (_: FileNotFoundException) {
            // A file must have been deleted manually!
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/Collections2Test.java

        return suite;
      }
    
      static final Predicate<@Nullable String> NOT_YYY_ZZZ =
          input -> !Objects.equals(input, "yyy") && !Objects.equals(input, "zzz");
    
      static final Predicate<String> LENGTH_1 = input -> input.length() == 1;
    
      @J2ktIncompatible
      @GwtIncompatible // suite
      @AndroidIncompatible // test-suite builders
      private static Test testsForFilter() {
        return CollectionTestSuiteBuilder.using(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/NetbiosAddressTest.java

            String smbServer = NbtAddress.SMBSERVER_NAME;
    
            assertNotNull(anyHosts);
            assertNotNull(masterBrowser);
            assertNotNull(smbServer);
    
            // Test that they have expected lengths
            assertEquals(16, anyHosts.length());
            assertEquals(15, masterBrowser.length());
            assertEquals(15, smbServer.length());
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

                byte[] data = new byte[size];
                assertDoesNotThrow(() -> request.setData(data, 0, size));
            }
    
            @ParameterizedTest
            @DisplayName("Should handle various offsets and lengths")
            @CsvSource({ "1024, 0, 1024", "1024, 100, 900", "1024, 500, 524", "2048, 1024, 1024", "4096, 2048, 2048", "65536, 32768, 32768" })
            void testVariousOffsetsAndLengths(int dataSize, int offset, int length) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  8. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

         * (related to MNG-6572 optimization)
         */
        @Test
        void testVersionEqualWithLeadingZeroes() {
            // versions with string lengths from 1 to 19
            String[] arr = new String[] {
                "0000000000000000001",
                "000000000000000001",
                "00000000000000001",
                "0000000000000001",
                "000000000000001",
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java

     *
     * @author Jared Levy
     */
    @GwtCompatible
    @NullMarked
    public class TreeMultimapExplicitTest extends TestCase {
    
      /**
       * Compare strings lengths, and if the lengths are equal compare the strings. A {@code null} is
       * less than any non-null value.
       */
      private enum StringLength implements Comparator<@Nullable String> {
        COMPARATOR;
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/rdma/RdmaChannelInfo.java

     */
    package jcifs.internal.smb2.rdma;
    
    /**
     * RDMA channel information for SMB Direct operations.
     *
     * This class encapsulates RDMA channel metadata including remote memory keys,
     * addresses, and lengths for direct memory access operations.
     */
    public class RdmaChannelInfo {
    
        private final Smb2RdmaTransform transform;
    
        /**
         * Create new RDMA channel info
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 2.8K bytes
    - Viewed (0)
Back to top