Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 1,615 for LENGTH (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/main/java/jcifs/netbios/SessionRetargetResponsePacket.java

            this.type = SESSION_RETARGET_RESPONSE;
            this.length = 6;
        }
    
    
        @Override
        int writeTrailerWireFormat ( byte[] dst, int dstIndex ) {
            return 0;
        }
    
    
        @Override
        int readTrailerWireFormat ( InputStream in, byte[] buffer, int bufferIndex ) throws IOException {
            if ( in.read(buffer, bufferIndex, this.length) != this.length ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.7K bytes
    - Viewed (0)
  9. guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/Platform.java

        return (T[]) Arrays.copyOfRange(array, 0, array.length);
      }
    
      // TODO: Consolidate different copies in one single place.
      static String format(String template, Object... args) {
        // start substituting the arguments into the '%s' placeholders
        StringBuilder builder = new StringBuilder(template.length() + 16 * args.length);
        int templateStart = 0;
        int i = 0;
        while (i < args.length) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/HashCode.java

        checkArgument(
            string.length() >= 2, "input string (%s) must have at least 2 characters", string);
        checkArgument(
            string.length() % 2 == 0,
            "input string (%s) must have an even number of characters",
            string);
    
        byte[] bytes = new byte[string.length() / 2];
        for (int i = 0; i < string.length(); i += 2) {
          int ch1 = decode(string.charAt(i)) << 4;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:54:59 UTC 2024
    - 12.6K bytes
    - Viewed (0)
Back to top