Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 1,653 for length (0.07 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/TestStringSetMultimapGenerator.java

      public final Entry<String, String>[] createArray(int length) {
        return (Entry<String, String>[]) new Entry<?, ?>[length];
      }
    
      @Override
      public final String[] createKeyArray(int length) {
        return new String[length];
      }
    
      @Override
      public final String[] createValueArray(int length) {
        return new String[length];
      }
    
      /** Returns the original element list, unchanged. */
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/pac/PacMac.java

            cipher.init(Cipher.ENCRYPT_MODE, new SecretKeySpec(keybytes, "AES"), new IvParameterSpec(ZERO_IV, 0, ZERO_IV.length));
            if ( constant.length != cipher.getBlockSize() ) {
                constant = expandNFold(constant, cipher.getBlockSize());
            }
            byte[] enc = constant;
            int klen = keybytes.length;
            byte[] dk = new byte[klen];
            for ( int n = 0; n < klen; ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/TestEnumMapGenerator.java

      public final Entry<AnEnum, String>[] createArray(int length) {
        return (Entry<AnEnum, String>[]) new Entry<?, ?>[length];
      }
    
      @Override
      public final AnEnum[] createKeyArray(int length) {
        return new AnEnum[length];
      }
    
      @Override
      public final String[] createValueArray(int length) {
        return new String[length];
      }
    
      /** Returns the elements sorted in natural order. */
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/base/WhitespaceMatcherBenchmark.java

        final char[] result = new char[STRING_LENGTH];
        // Fill with matching chars.
        for (int i = 0; i < result.length; i++) {
          result[i] = allMatchingChars.charAt(random.nextInt(allMatchingChars.length()));
        }
        // Replace some of chars by non-matching.
        int remaining = (int) ((100 - percentMatching) * result.length / 100.0 + 0.5);
        while (remaining > 0) {
          final char c = (char) random.nextInt();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 16 22:49:59 UTC 2018
    - 3.9K bytes
    - Viewed (0)
  5. guava-tests/benchmark/com/google/common/base/WhitespaceMatcherBenchmark.java

        final char[] result = new char[STRING_LENGTH];
        // Fill with matching chars.
        for (int i = 0; i < result.length; i++) {
          result[i] = allMatchingChars.charAt(random.nextInt(allMatchingChars.length()));
        }
        // Replace some of chars by non-matching.
        int remaining = (int) ((100 - percentMatching) * result.length / 100.0 + 0.5);
        while (remaining > 0) {
          final char c = (char) random.nextInt();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 16 22:49:59 UTC 2018
    - 3.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/io/Smb2WriteRequest.java

        }
    
    
        /**
         * @param data
         *            the data to set
         * @param offset
         * @param length
         */
        public void setData ( byte[] data, int offset, int length ) {
            this.data = data;
            this.dataOffset = offset;
            this.dataLength = length;
        }
    
    
        /**
         * @param remainingBytes
         *            the remainingBytes to set
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/NtlmUtil.java

            System.arraycopy(mac, 0, ret, 0, mac.length);
            System.arraycopy(clientData, 0, ret, mac.length, clientData.length);
            return ret;
        }
    
    
        /**
         * 
         * @param domain
         * @param username
         * @param password
         * 
         * @return the caclulated mac
         */
        public static byte[] nTOWFv2 ( String domain, String username, String password ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 9.7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/dict/synonym/SynonymFileTest.java

            assertEquals(1, itemList.get(0).getInputs().length);
            assertEquals(1, itemList.get(0).getOutputs().length);
            assertEquals("a1", itemList.get(0).getInputs()[0]);
            assertEquals("A1", itemList.get(0).getOutputs()[0]);
            assertFalse(itemList.get(0).isUpdated());
    
            assertEquals(2, itemList.get(1).getInputs().length);
            assertEquals(1, itemList.get(1).getOutputs().length);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

          ensureRoomFor(values.length());
          System.arraycopy(values.array, values.start, array, count, values.length());
          count += values.length();
          return this;
        }
    
        private void ensureRoomFor(int numberToAdd) {
          int newCount = count + numberToAdd; // TODO(kevinb): check overflow now?
          if (newCount > array.length) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/msrpc/LsarSidArrayX.java

    package jcifs.smb1.dcerpc.msrpc;
    
    import jcifs.smb1.smb1.SID;
    
    class LsarSidArrayX extends lsarpc.LsarSidArray {
    
        LsarSidArrayX(SID[] sids) {
            this.num_sids = sids.length;
            this.sids = new lsarpc.LsarSidPtr[sids.length];
            for (int si = 0; si < sids.length; si++) {
                this.sids[si] = new lsarpc.LsarSidPtr();
                this.sids[si].sid = sids[si];
            }
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 403 bytes
    - Viewed (0)
Back to top