Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1331 - 1340 of 1,922 for LENGTH (0.04 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

            .clearHeaders()
            .addHeader("Content-Length: 3")
            .build(),
        )
        assertContent("abc", getResponse(newRequest("/")))
      }
    
      @Test
      fun contentDisagreesWithContentLengthHeaderBodyTooShort() {
        server.enqueue(
          MockResponse
            .Builder()
            .body("abc")
            .setHeader("Content-Length", "5")
            .onResponseEnd(ShutdownConnection)
            .build(),
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Jun 21 20:36:35 GMT 2025
    - 133.2K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java

        }
    
        /**
         * Update the file ID after successful create response
         * @param newFileId the new 16-byte file ID
         */
        public void updateFileId(byte[] newFileId) {
            if (newFileId.length != 16) {
                throw new IllegalArgumentException("File ID must be 16 bytes");
            }
            System.arraycopy(newFileId, 0, this.fileId, 0, 16);
        }
    
        @Override
        public String toString() {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/api/BaseApiManager.java

            if (value == null) {
                final String servletPath = request.getServletPath();
                final String[] values = servletPath.replaceAll("/+", "/").split("/");
                if (values.length > 2) {
                    value = values[2];
                }
            }
            if (value == null) {
                return FormatType.SEARCH;
            }
            final String type = value.toUpperCase(Locale.ROOT);
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/io/LittleEndianDataOutputStream.java

       * each character is written using little-endian byte order.
       *
       * @throws IOException if an I/O error occurs
       */
      @Override
      public void writeChars(String s) throws IOException {
        for (int i = 0; i < s.length(); i++) {
          writeChar(s.charAt(i));
        }
      }
    
      /**
       * Writes a {@code double} as specified by {@link DataOutputStream#writeDouble(double)}, except
       * using little-endian byte order.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 5.1K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/crawler/util/FieldConfigs.java

                    if ("cache".equalsIgnoreCase(value)) {
                        return true;
                    }
                }
                // backward compatibility
                if (values.length == 1 && Constants.TRUE.equalsIgnoreCase(values[0])) {
                    return true;
                }
                return false;
            }
    
            /**
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb2/lock/Smb2LockRequest.java

         */
        @Override
        protected int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
            SMBUtil.writeInt2(48, dst, dstIndex);
            SMBUtil.writeInt2(this.locks.length, dst, dstIndex + 2);
            dstIndex += 4;
            SMBUtil.writeInt4((this.lockSequenceNumber & 0xF) << 28 | this.lockSequenceIndex & 0x0FFFFFFF, dst, dstIndex);
            dstIndex += 4;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  7. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableMap.java

              public <T extends @Nullable Object> T[] toArray(T[] array) {
                T[] result = super.toArray(array);
                if (size() < result.length) {
                  // It works around a GWT bug where elements after last is not
                  // properly null'ed.
                  @Nullable Object[] unsoundlyCovariantArray = result;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Aug 06 18:32:41 GMT 2025
    - 4K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/util/KuromojiCSVUtil.java

            boolean insideQuote = false;
            final ArrayList<String> result = new ArrayList<>();
            int quoteCount = 0;
            final StringBuilder sb = new StringBuilder();
            for (int i = 0; i < line.length(); i++) {
                final char c = line.charAt(i);
    
                if (c == QUOTE) {
                    insideQuote = !insideQuote;
                    quoteCount++;
                }
    
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/session/Smb2LogoffResponseTest.java

            }
    
            @Test
            @DisplayName("Insufficient buffer causes ArrayIndexOutOfBoundsException")
            void shortBuffer_throwsAIOOBE() {
                // Arrange: length 1 means readInt2 will access index 1 and fail
                byte[] buffer = new byte[1];
                Smb2LogoffResponse resp = newResponse();
    
                // Act & Assert
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  10. callbacks/helper.go

    func ConvertSliceOfMapToValuesForCreate(stmt *gorm.Statement, mapValues []map[string]interface{}) (values clause.Values) {
    	columns := make([]string, 0, len(mapValues))
    
    	// when the length of mapValues is zero,return directly here
    	// no need to call stmt.SelectAndOmitColumns method
    	if len(mapValues) == 0 {
    		stmt.AddError(gorm.ErrEmptySlice)
    		return
    	}
    
    	var (
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Apr 14 12:32:57 GMT 2022
    - 3.7K bytes
    - Click Count (0)
Back to Top