Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 896 for Array (0.02 sec)

  1. 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)
  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. android/guava-testlib/src/com/google/common/collect/testing/testers/SetCreationTester.java

      @CollectionSize.Require(absent = {ZERO, ONE})
      public void testCreateWithDuplicates_nullDuplicatesNotRejected() {
        E[] array = createArrayWithNullElement();
        array[0] = null;
        collection = getSubjectGenerator().create(array);
    
        List<E> expectedWithDuplicateRemoved = asList(array).subList(1, getNumElements());
        expectContents(expectedWithDuplicateRemoved);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.5K 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/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.java

            }
    
            /**
             * The number of shares in the array.
             */
            /**
             * The number of shares in the array.
             */
            public int count;
            /**
             * Array of ShareInfo0 structures containing share information.
             */
            public ShareInfo0[] array;
    
            @Override
            public void encode(NdrBuffer _dst) throws NdrException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.3K bytes
    - Viewed (0)
  6. 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)
  7. src/main/java/org/codelibs/core/misc/AssertionUtil.java

         * Asserts that the argument is neither <code>null</code> nor an empty array.
         *
         * @param argName
         *            The name of the argument that must not be {@code null} or an empty array.
         * @param argValue
         *            The value of the argument.
         * @throws EmptyArgumentException
         *             If the argument is <code>null</code> or an empty array.
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 12.5K 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. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

       * array is that of the specified array. The returned array elements are in no particular order.
       * If the queue fits in the specified array, it is returned therein. Otherwise, a new array is
       * allocated with the runtime type of the specified array and the size of this queue.
       *
       * <p>If this queue fits in the specified array with room to spare (i.e., the array has more
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  10. 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)
Back to top