Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 1,259 for varray1 (0.06 sec)

  1. src/test/java/jcifs/dcerpc/msrpc/LsarSidArrayXTest.java

            // Verify num_sids
            assertEquals(0, lsarSidArrayX.num_sids, "num_sids should be 0 for an empty array");
    
            // Verify sids array
            assertNotNull(lsarSidArrayX.sids, "sids array should not be null for an empty array");
            assertEquals(0, lsarSidArrayX.sids.length, "sids array length should be 0 for an empty array");
        }
    
        @Test
        void testConstructorWithNullSIDArray() {
            jcifs.SID[] sids = null;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/msrpc/srvsvcTest.java

            ctr1.array[0].remark = "Remark1";
            ctr1.array[1] = new srvsvc.ShareInfo1();
            ctr1.array[1].netname = "Share2";
            ctr1.array[1].type = 1;
            ctr1.array[1].remark = "Remark2";
    
            // Set up mocks
            mockDeferredBuffer.index = 0; // Set field directly
            mockDeferredBuffer.deferred = mockDeferredBuffer;
    
            ctr1.encode(mockNdrBuffer);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

            ImmutableSetMultimap.<Character, Character>builder()
                .putAll('b', Arrays.asList('a', 'n', 'a', 'n', 'a'))
                .putAll('a', Arrays.asList('p', 'p', 'l', 'e'))
                .putAll('c', Arrays.asList('a', 'r', 'r', 'o', 't'))
                .putAll('a', Arrays.asList('s', 'p', 'a', 'r', 'a', 'g', 'u', 's'))
                .putAll('c', Arrays.asList('h', 'e', 'r', 'r', 'y'))
                .build();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/Encdec.java

                }
            }
    
            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
         * @throws IOException if a decoding error occurs
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/dcerpc/msrpc/samrTest.java

                samr.SamrSamArray array = new samr.SamrSamArray();
                array.count = 0;
                array.entries = null;
    
                // When: Encoding array
                array.encode(mockNdrBuffer);
    
                // Then: Should encode null referent
                verify(mockNdrBuffer).align(4);
                verify(mockNdrBuffer).enc_ndr_long(0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ObjectCountLinkedHashMap.java

    import com.google.common.annotations.VisibleForTesting;
    import java.util.Arrays;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * {@code ObjectCountLinkedHashMap} is a subclass of {@code ObjectCountHashMap} with insertion
     * iteration order, and uses arrays to store key objects and count values. Comparing to using a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/hash/LittleEndianByteArray.java

          // Shift value left while iterating logically through the array.
          result |= (input[offset + i] & 0xFFL) << (i * 8);
        }
        return result;
      }
    
      /**
       * Store 8 bytes into the provided array at the indicated offset, using the value provided.
       *
       * @param sink the output byte array
       * @param offset the offset into the array at which to start writing
       * @param value the value to write
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/msrpc/samrTest.java

                samr.SamrSamArray array = new samr.SamrSamArray();
                array.count = 0;
                array.entries = null;
    
                // When: Encoding array
                array.encode(mockNdrBuffer);
    
                // Then: Should encode null referent
                verify(mockNdrBuffer).align(4);
                verify(mockNdrBuffer).enc_ndr_long(0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  9. guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java

        int len = string.length();
        int size = len * count;
        char[] array = new char[size];
        string.getChars(0, len, array, 0);
        int n;
        for (n = len; n < size - n; n <<= 1) {
          System.arraycopy(array, 0, array, n, n);
        }
        System.arraycopy(array, 0, array, n, size - n);
        return new String(array);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  10. docs/smb3-features/03-multi-channel-design.md

            long affinityKey = 0;
            
            if (message instanceof Smb2ReadRequest) {
                affinityKey = Arrays.hashCode(((Smb2ReadRequest)message).getFileId());
            } else if (message instanceof Smb2WriteRequest) {
                affinityKey = Arrays.hashCode(((Smb2WriteRequest)message).getFileId());
            }
            
            if (affinityKey != 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
Back to top