Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/main/java/org/codelibs/fess/validation/CustomSizeValidator.java

            hibernateContext.addMessageParameter("min", min).addMessageParameter("max", max).buildConstraintViolationWithTemplate(message)
                    .addConstraintViolation();
            final int length = value.length();
            return length >= min && length <= max;
        }
    
        private void validateParameters() {
            if (min < 0) {
                throw new IllegalArgumentException("The min parameter cannot be negative.");
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/ViewHelper.java

            final StringBuffer buf = new StringBuffer(cache.length() + 100);
            final StringBuffer segBuf = new StringBuffer(1000);
            final Pattern p = Pattern.compile("<[^>]+>");
            final Matcher m = p.matcher(cache);
            final String[] regexQueries = new String[queries.length];
            final String[] hlQueries = new String[queries.length];
            for (int i = 0; i < queries.length; i++) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. src/main/java/jcifs/dcerpc/DcerpcHandle.java

                        }
                        key = null;
                    }
                    break;
                default:
                    si = arr.length;
                }
    
                si++;
            }
            while ( si < arr.length );
    
            if ( binding == null || binding.getEndpoint() == null )
                throw new DcerpcException("Invalid binding URL: " + str);
    
            return binding;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jun 30 10:11:57 UTC 2019
    - 12.9K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  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. 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)
  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