Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 252 for postal (0.25 sec)

  1. src/main/java/jcifs/util/SmbCircuitBreaker.java

            long total = totalRequests.get();
            if (total == 0) {
                return 100.0;
            }
            return (totalSuccesses.get() * 100.0) / total;
        }
    
        /**
         * Calculate availability
         *
         * @return availability as percentage (0-100)
         */
        private double calculateAvailability() {
            long total = totalRequests.get();
            if (total == 0) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  2. README.md

    ```java
    import org.codelibs.curl.Curl;
    
    Curl.post("https://api.example.com/items")
        .body("{\"name\":\"item1\"}")
        .header("Content-Type", "application/json")
        .execute(
            response -> System.out.println("Async status: " + response.getHttpStatusCode()),
            error -> error.printStackTrace());
    ```
    
    ## API Overview
    
    - `org.codelibs.curl.Curl`: entry point for HTTP methods (GET, POST, PUT, DELETE, HEAD, OPTIONS, CONNECT, TRACE).
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java

            @Test
            @DisplayName("Should handle mismatched chunk and total bytes")
            void testMismatchedValues() throws SMBProtocolDecodingException {
                // This could happen if the last chunk is smaller
                byte[] buffer = createValidCopyChunkResponse(10, // 10 chunks
                        65536, // Last chunk size (not average)
                        589824 // Total less than 10 * 65536
                );
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  4. src/main/resources/mail/crawler.dfmail

    Exec Time:  /*pmb.dataCrawlExecTime:orElse('-')*/ ms
    
    --- Data Store Indexer ---
    Exec Time:  /*pmb.dataIndexExecTime:orElse('-')*/ ms
    Num of Doc: /*pmb.dataIndexSize:orElse('-')*/ docs
    
    --- Total ---
    Start Time: /*pmb.crawlerStartTime:orElse('-')*/
    End Time:   /*pmb.crawlerEndTime:orElse('-')*/
    Exec Time:  /*pmb.crawlerExecTime:orElse('-')*/ ms
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Wed Jan 15 22:05:20 UTC 2020
    - 1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/ResolverTypeTest.java

            assertNotNull(ResolverType.RESOLVER_DNS, "RESOLVER_DNS should not be null.");
            assertNotNull(ResolverType.RESOLVER_LMHOSTS, "RESOLVER_LMHOSTS should not be null.");
        }
    
        /**
         * Tests the total number of enum constants.
         */
        @Test
        void testNumberOfEnumConstants() {
            // Ensure there are exactly 4 resolver types
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/pac/PacDataInputStreamTest.java

        }
    
        @Test
        public void testReadString() throws IOException, PACDecodingException {
            // total=4, unused=1, used=2, string="AB"
            byte[] data = new byte[] { 0x04, 0x00, 0x00, 0x00, // total
                    0x01, 0x00, 0x00, 0x00, // unused
                    0x02, 0x00, 0x00, 0x00, // used
                    0x00, 0x00, // unused char
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/builder/RequestDataBuilderTest.java

            assertEquals("https://example.com/get", data1.getUrl());
    
            RequestData data2 = RequestDataBuilder.newRequestData().post().url("https://example.com/post").weight(2.0f).build();
    
            assertEquals(Method.POST, data2.getMethod());
            assertEquals("https://example.com/post", data2.getUrl());
    
            RequestData data3 = RequestDataBuilder.newRequestData().head().url("https://example.com/head").build();
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationTest.java

            assertEquals(0, (dst[5] << 8) | (dst[4] & 0xFF));
        }
    
        @Test
        void testWriteDataWireFormat() {
            // Given
            // writeInt8 writes 8 bytes but needs to access dst[dstIndex+7]
            // Total bytes written: 8+8+8+8+2+6=40
            // But writeInt8 at position 34 needs to access position 34+7=41
            // So we need at least 42 bytes in the array
            byte[] dst = new byte[42];
    
            // When
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStream.java

         *
         * @param b the buffer into which the data is read
         * @param off the start offset in array b at which the data is written
         * @param len the maximum number of bytes to read
         * @return the total number of bytes read into the buffer, or -1 if there is no more data
         * @throws IOException if an I/O error occurs
         */
        @Override
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java

        /** Displacement of these parameter bytes from the start of the total parameter block */
        protected int parameterDisplacement;
        /** Number of data bytes being sent in this request */
        protected int dataCount;
        /** Offset from the start of the SMB header to the data bytes */
        protected int dataOffset;
        /** Displacement of these data bytes from the start of the total data block */
        protected int dataDisplacement;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17.3K bytes
    - Viewed (0)
Back to top