Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 1,751 for LENGTH (3.53 sec)

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

                    .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 Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/ntlmssp/Type2Message.java

            return "Type2Message[target=" + target + ",challenge=" + (challenge == null ? "null" : "<" + challenge.length + " bytes>")
                    + ",context=" + (context == null ? "null" : "<" + context.length + " bytes>") + ",targetInformation="
                    + (targetInformation == null ? "null" : "<" + targetInformation.length + " bytes>") + ",flags=0x"
                    + jcifs.smb1.util.Hexdump.toHexString(getFlags(), 8) + "]";
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 13K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/SecureCredentialStorage.java

        public SecureCredentialStorage(char[] masterPassword, byte[] salt) throws GeneralSecurityException {
            if (masterPassword == null || masterPassword.length == 0) {
                throw new IllegalArgumentException("Master password cannot be null or empty");
            }
            if (salt == null || salt.length != SALT_SIZE) {
                throw new IllegalArgumentException("Invalid salt");
            }
    
            this.salt = salt.clone();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/ntlmssp/Type1Message.java

                final byte[] type1 = new byte[hostInfo ? 32 + domain.length + workstation.length : 16];
                System.arraycopy(NTLMSSP_SIGNATURE, 0, type1, 0, 8);
                writeULong(type1, 8, 1);
                writeULong(type1, 12, flags);
                if (hostInfo) {
                    writeSecurityBuffer(type1, 16, 32, domain);
                    writeSecurityBuffer(type1, 24, 32 + domain.length, workstation);
                }
                return type1;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  5. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

           * Example:
           * ```
           * --> POST /greeting http/1.1
           * Host: example.com
           * Content-Type: plain/text
           * Content-Length: 3
           * --> END POST
           *
           * <-- 200 OK (22ms)
           * Content-Type: plain/text
           * Content-Length: 6
           * <-- END HTTP
           * ```
           */
          HEADERS,
    
          /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 21 14:27:04 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  6. cmd/dummy-data-generator_test.go

    	k := len(b)
    	numLetters := int64(len(d.b))
    	for k > 0 && d.idx < d.length {
    		w := copy(b[len(b)-k:], d.b[d.idx%numLetters:])
    		k -= w
    		d.idx += int64(w)
    		n += w
    	}
    	if d.idx >= d.length {
    		extraBytes := d.idx - d.length
    		n -= int(extraBytes)
    		if n < 0 {
    			n = 0
    		}
    		err = io.EOF
    	}
    	return
    }
    
    func (d *DummyDataGen) Seek(offset int64, whence int) (int64, error) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/http/NetworkExplorer.java

                n = url.lastIndexOf('.');
                if (n > 0 && (type = url.substring(n + 1)) != null && type.length() > 1 && type.length() < 6) {
                    resp.setContentType(mimeMap.getMimeType(type));
                }
                resp.setHeader("Content-Length", file.length() + "");
                resp.setHeader("Accept-Ranges", "Bytes");
    
                while ((n = in.read(buf)) != -1) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/AbstractNonStreamingHashFunction.java

          int remaining = input.remaining();
          if (count + remaining > buf.length) {
            buf = Arrays.copyOf(buf, count + remaining);
          }
          input.get(buf, count, remaining);
          count += remaining;
        }
    
        byte[] byteArray() {
          return buf;
        }
    
        int length() {
          return count;
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

      public void testLength() {
        assertThat(ImmutableIntArray.of().length()).isEqualTo(0);
        assertThat(ImmutableIntArray.of(0).length()).isEqualTo(1);
        assertThat(ImmutableIntArray.of(0, 1, 3).length()).isEqualTo(3);
        assertThat(ImmutableIntArray.of(0, 1, 3).subArray(1, 1).length()).isEqualTo(0);
        assertThat(ImmutableIntArray.of(0, 1, 3).subArray(1, 2).length()).isEqualTo(1);
      }
    
      public void testIsEmpty() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/FileTypeHelperTest.java

            assertNotNull(types);
            assertEquals(0, types.length);
    
            fileTypeHelper.add("application/pdf", "pdf");
            fileTypeHelper.add("text/plain", "text");
            fileTypeHelper.add("image/jpeg", "image");
    
            types = fileTypeHelper.getTypes();
            assertEquals(3, types.length);
    
            Arrays.sort(types);
            assertEquals("image", types[0]);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 5.3K bytes
    - Viewed (0)
Back to top