Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 1,626 for lengths (0.07 sec)

  1. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

          }
          Arrays.fill(sortedElements, uniques, length, null);
          if (maybeExpand && uniques * 4 > length * 3) {
            // lots of nonduplicated elements, expand the array by 50%
            sortedElements =
                Arrays.copyOf(sortedElements, IntMath.saturatedAdd(length, length / 2 + 1));
          }
          int[] sortedCounts = new int[sortedElements.length];
          for (int i = 0; i < length; i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.java

                _dst.align(4);
                _dst.enc_ndr_short(name.length);
                _dst.enc_ndr_short(name.maximum_length);
                _dst.enc_ndr_referent(name.buffer, 1);
                _dst.enc_ndr_short(dns_domain.length);
                _dst.enc_ndr_short(dns_domain.maximum_length);
                _dst.enc_ndr_referent(dns_domain.buffer, 1);
                _dst.enc_ndr_short(dns_forest.length);
                _dst.enc_ndr_short(dns_forest.maximum_length);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 33K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/fscc/FileRenameInformation2.java

            byte[] nameBytes = this.fileName.getBytes(StandardCharsets.UTF_16LE);
    
            SMBUtil.writeInt4(nameBytes.length, dst, dstIndex);
            dstIndex += 4;
    
            System.arraycopy(nameBytes, 0, dst, dstIndex, nameBytes.length);
            dstIndex += nameBytes.length;
    
            return dstIndex - start;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#size()
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/beans/factory/ParameterizedClassDescFactoryTest.java

            assertThat(args.length, is(1));
            assertThat(args[0].getRawClass(), is(sameClass(Integer.class)));
    
            desc = ParameterizedClassDescFactory.createParameterizedClassDesc(method, 1, map);
            assertThat(desc.getRawClass(), is(sameClass(Map.class)));
            args = desc.getArguments();
            assertThat(args.length, is(2));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/util/DES.java

        /**
         * encrypts an array where the length must be a multiple of 8
         */
        public byte[] encrypt(byte[] clearText) {
    
            int length = clearText.length;
    
            if (length % 8 != 0) {
                System.out.println("Array must be a multiple of 8");
                return null;
            }
    
            byte[] cipherText = new byte[length];
            int count = length / 8;
    
            for (int i=0; i<count; i++)
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 21.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/MultisetsCollectionTest.java

            multiset1.add("only1");
            multiset2.add("only2");
            for (int i = 0; i < elements.length; i++) {
              multiset1.add(elements[i]);
              multiset2.add(elements[elements.length - 1 - i]);
            }
            if (elements.length > 0) {
              multiset1.add(elements[0]);
            }
            if (elements.length > 1) {
              /*
               * When a test requests a multiset with duplicates, our plan of
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Splitter.java

       * length, CEILING)}. To avoid this behavior, use {@code omitEmptyStrings}.
       *
       * @param length the desired length of pieces after splitting, a positive integer
       * @return a splitter, with default settings, that can split into fixed sized pieces
       * @throws IllegalArgumentException if {@code length} is zero or negative
       */
      public static Splitter fixedLength(final int length) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 21:14:05 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

                    req.setMaxOutputResponse(maxRecvSize);
                    Smb2IoctlResponse resp = th.send(req, RequestParam.NO_RETRY);
                    return resp.getOutputLength();
                }
                else if ( this.transact ) {
                    TransTransactNamedPipe req = new TransTransactNamedPipe(th.getConfig(), fh.getFid(), buf, off, length);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Apr 13 17:05:22 UTC 2020
    - 10.3K bytes
    - Viewed (0)
  9. build-logic-commons/code-quality-rules/src/main/resources/classycle/classycle_report_resources.zip

    showTable(title, headers, content) { text = "<h3>" + title + "</h3><p>"; if (content.length > 0) { text += "<table border=\"1\" cellpadding=\"5\" cellspacing=\"0\">"; if (headers.length > 0) { text += "<tr>"; headerArray = headers.split(","); for (i = 0; i < headerArray.length; i++) { text += "<th>" + headerArray[i] + "</th>"; } text += "</tr>"; } rows = content.split(";"); for (i = 0; i < rows.length; i++) { if (rows[i].length > 0) { columns = rows[i].split(","); text += "<tr>"; for (j = 0; j < columns.length;...
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 23.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/math/Quantiles.java

          // Since index and (dataset.length - 1) are non-negative ints, their product can be expressed
          // as a long, without risk of overflow:
          long numerator = (long) index * (dataset.length - 1);
          // Since scale is a positive int, index is in [0, scale], and (dataset.length - 1) is a
          // non-negative int, we can do long-arithmetic on index * (dataset.length - 1) / scale to get
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 29.9K bytes
    - Viewed (0)
Back to top