Search Options

Results per page
Sort
Preferred Languages
Advance

Results 491 - 500 of 856 for isInvalid (0.06 sec)

  1. android/guava/src/com/google/common/primitives/Ints.java

       *     minLength}
       */
      public static int[] ensureCapacity(int[] array, int minLength, int padding) {
        checkArgument(minLength >= 0, "Invalid minLength: %s", minLength);
        checkArgument(padding >= 0, "Invalid padding: %s", padding);
        return (array.length < minLength) ? Arrays.copyOf(array, minLength + padding) : array;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/AccessTokenHelperTest.java

            MockletHttpServletRequest req = getMockRequest();
            assertNull(accessTokenHelper.getAccessTokenFromRequest(req));
        }
    
        public void test_getAccessTokenFromRequest_bad1() {
            final String token = "INVALID _TOKEN0";
            MockletHttpServletRequest req = getMockRequest();
            req.addHeader("Authorization", token);
            try {
                accessTokenHelper.getAccessTokenFromRequest(req);
                fail();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/EquivalenceTester.java

        delegate.addRelatedGroup(group);
        items.addAll(ImmutableList.copyOf(group));
        return this;
      }
    
      /** Run tests on equivalence methods, throwing a failure on an invalid test */
      @CanIgnoreReturnValue
      public EquivalenceTester<T> test() {
        for (int run = 0; run < REPETITIONS; run++) {
          testItems();
          delegate.test();
        }
        return this;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                }
                final int size = Encdec.dec_uint16be(sbuf, 2) & 0xFFFF;
                if (size < 33 || 4 + size > sbuf.length) {
                    throw new IOException("Invalid payload size: " + size);
                }
                readn(in, sbuf, 4 + 32, size - 32);
                resp.decode(sbuf, 4);
    
                if (LogStream.level >= 4) {
                    log.println(resp);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java

            // Check protocol ID
            final int protocolId = SMBUtil.readInt4(buffer, bufferIndex);
            if (protocolId != TRANSFORM_PROTOCOL_ID) {
                throw new IllegalArgumentException("Invalid transform header protocol ID: 0x" + Integer.toHexString(protocolId));
            }
            bufferIndex += 4;
    
            // Read signature
            System.arraycopy(buffer, bufferIndex, header.signature, 0, 16);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionIteratorTester.java

        int originalSize = collection.size();
        Iterator<E> iterator = collection.iterator();
        Object element = iterator.next();
        // If it's an Entry, it may become invalid once it's removed from the Map. Copy it.
        if (element instanceof Entry) {
          Entry<?, ?> entry = (Entry<?, ?>) element;
          element = mapEntry(entry.getKey(), entry.getValue());
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/dtyp/SecurityDescriptor.java

                final int numAces = SMBUtil.readInt4(buffer, bufferIndex);
                bufferIndex += 4;
    
                if (numAces > 4096) {
                    throw new SMBProtocolDecodingException("Invalid SecurityDescriptor");
                }
    
                this.aces = new ACE[numAces];
                for (int i = 0; i < numAces; i++) {
                    this.aces[i] = new ACE();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/sereq/AdminSereqAction.java

        }
    
        /**
         * Creates a CURL request from the provided header string.
         *
         * @param header the header string containing HTTP method and path
         * @return CURL request object or null if header is invalid
         */
        private CurlRequest getCurlRequest(final String header) {
            if (StringUtil.isBlank(header)) {
                return null;
            }
    
            final String[] values = header.split(" ");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/Hasher.java

       * cross-language compatibility. For other use cases, prefer {@link #putUnencodedChars}, which is
       * faster, produces the same output across Java releases, and hashes every {@code char} in the
       * input, even if some are invalid.
       */
      @CanIgnoreReturnValue
      @Override
      Hasher putString(CharSequence charSequence, Charset charset);
    
      /** A simple convenience for {@code funnel.funnel(object, this)}. */
      @CanIgnoreReturnValue
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/ntlmssp/av/AvPairs.java

                final int avLen = SMBUtil.readInt2(data, pos + 2);
                pos += 4;
    
                if (avId == AvPair.MsvAvEOL) {
                    if (avLen != 0) {
                        throw new CIFSException("Invalid avLen for AvEOL");
                    }
                    foundEnd = true;
                    break;
                }
    
                final byte[] raw = new byte[avLen];
                System.arraycopy(data, pos, raw, 0, avLen);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
Back to top