Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1461 - 1470 of 1,875 for length (0.03 sec)

  1. cmd/streaming-signature-v4.go

    			b -= '0'
    		case 'a' <= b && b <= 'f':
    			b = b - 'a' + 10
    		case 'A' <= b && b <= 'F':
    			b = b - 'A' + 10
    		default:
    			return 0, errors.New("invalid byte in chunk length")
    		}
    		if i == 16 {
    			return 0, errors.New("http chunk length too large")
    		}
    		n <<= 4
    		n |= uint64(b)
    	}
    	return
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exception/JobProcessingExceptionTest.java

            final JobProcessingException exception = new JobProcessingException("Stack trace test");
    
            assertNotNull(exception.getStackTrace());
            assertTrue(exception.getStackTrace().length > 0);
    
            // Verify the top of the stack trace points to this test method
            final StackTraceElement topElement = exception.getStackTrace()[0];
            assertEquals("test_stackTrace", topElement.getMethodName());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractEntity.java

        //                                                                        ============
        protected String convertEmptyToNull(String value) {
            return (value != null && value.length() == 0) ? null : value;
        }
    
        // ===================================================================================
        //                                                                              Source
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

              int maxChars = (int) (size.get().intValue() * cs.newDecoder().maxCharsPerByte());
              char[] buffer = new char[maxChars];
              int bufIndex = 0;
              int remaining = buffer.length;
              try (InputStreamReader reader = new InputStreamReader(byteSource.openStream(), cs)) {
                int nRead = 0;
                while (remaining > 0 && (nRead = reader.read(buffer, bufIndex, remaining)) != -1) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/EnumMultisetTest.java

      private static TestEnumMultisetGenerator enumMultisetGenerator() {
        return new TestEnumMultisetGenerator() {
          @Override
          protected Multiset<AnEnum> create(AnEnum[] elements) {
            return (elements.length == 0)
                ? EnumMultiset.create(AnEnum.class)
                : EnumMultiset.create(asList(elements));
          }
        };
      }
    
      private enum Color {
        BLUE,
        RED,
        YELLOW,
        GREEN,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/pac/kerberos/KerberosTicket.java

         * @throws PACDecodingException if ticket decoding fails
         */
        public KerberosTicket(byte[] token, byte apOptions, KerberosKey[] keys) throws PACDecodingException {
            if (token.length <= 0) {
                throw new PACDecodingException("Empty kerberos ticket");
            }
    
            ASN1Sequence sequence;
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/job/AggregateLogJobTest.java

            // Execute the job
            String result = aggregateLogJob.execute();
    
            // Verify large message is handled
            assertNotNull(result);
            assertTrue(result.length() > 1000);
            assertTrue(result.contains("Error detail 0"));
            assertTrue(result.contains("Error detail 999"));
            assertTrue(result.endsWith("\n"));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt

        @JvmName("create")
        fun File.asRequestBody(contentType: MediaType? = null): RequestBody =
          object : RequestBody() {
            override fun contentType() = contentType
    
            override fun contentLength() = length()
    
            override fun writeTo(sink: BufferedSink) {
              source().use { source -> sink.writeAll(source) }
            }
          }
    
        /** Returns a new request body that transmits the content of this. */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 04 17:43:43 UTC 2025
    - 9K bytes
    - Viewed (0)
  9. docs/es/docs/advanced/custom-response.md

    * `headers` - Un `dict` de strings.
    * `media_type` - Un `str` que da el media type. Por ejemplo, `"text/html"`.
    
    FastAPI (de hecho Starlette) incluirá automáticamente un header Content-Length. También incluirá un header Content-Type, basado en el `media_type` y añadiendo un conjunto de caracteres para tipos de texto.
    
    {* ../../docs_src/response_directly/tutorial002.py hl[1,18] *}
    
    ### `HTMLResponse`
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  10. src/bufio/scan_test.go

    }
    
    func (sr *slowReader) Read(p []byte) (n int, err error) {
    	if len(p) > sr.max {
    		p = p[0:sr.max]
    	}
    	return sr.buf.Read(p)
    }
    
    // genLine writes to buf a predictable but non-trivial line of text of length
    // n, including the terminal newline and an occasional carriage return.
    // If addNewline is false, the \r and \n are not emitted.
    func genLine(buf *bytes.Buffer, lineNum, n int, addNewline bool) {
    	buf.Reset()
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Sep 22 16:22:42 UTC 2023
    - 14.3K bytes
    - Viewed (0)
Back to top