Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 895 for lead (0.02 sec)

  1. src/test/java/org/codelibs/fess/auth/chain/AuthenticationChainTest.java

        // Test load with exception
        public void test_load_withException() {
            TestAuthenticationChain chain = new TestAuthenticationChain();
            chain.loadThrowsException = true;
            User user = createTestUser("testuser", "Test User");
    
            try {
                chain.load(user);
                fail("Expected exception to be thrown");
            } catch (RuntimeException e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/AbstractConfigHelperTest.java

            configHelper.setLoadCallback(() -> -1);
            assertEquals(-1, configHelper.load());
        }
    
        static class TestConfigHelper extends AbstractConfigHelper {
    
            private final AtomicInteger loadCallCount = new AtomicInteger(0);
            private LoadCallback loadCallback = () -> 0;
    
            @Override
            public int load() {
                loadCallCount.incrementAndGet();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 00:03:47 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  3. docs/ko/docs/tutorial/first-steps.md

    #### 작동
    
    "작동(Operation)"은 HTTP "메소드" 중 하나를 나타냅니다.
    
    다음 중 하나이며:
    
    * `POST`
    * `GET`
    * `PUT`
    * `DELETE`
    
    ...흔히 사용되지 않는 것들도 있습니다:
    
    * `OPTIONS`
    * `HEAD`
    * `PATCH`
    * `TRACE`
    
    HTTP 프로토콜에서는 이러한 "메소드"를 하나(또는 이상) 사용하여 각 경로와 통신할 수 있습니다.
    
    ---
    
    API를 설계할 때 일반적으로 특정 행동을 수행하기 위해 특정 HTTP 메소드를 사용합니다.
    
    일반적으로 다음과 같습니다:
    
    * `POST`: 데이터를 생성하기 위해.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  4. docs/zh-hant/docs/tutorial/first-steps.md

    ///
    
    在建置 API 時,「路徑」是分離「關注點」和「資源」的主要方式。
    
    #### 操作
    
    這裡的「操作」指的是 HTTP 的「方法」之一。
    
    其中包括:
    
    * `POST`
    * `GET`
    * `PUT`
    * `DELETE`
    
    ……以及更少見的:
    
    * `OPTIONS`
    * `HEAD`
    * `PATCH`
    * `TRACE`
    
    在 HTTP 協定中,你可以使用這些「方法」之一(或更多)與每個路徑進行通信。
    
    ---
    
    在建置 API 時,你通常使用這些特定的 HTTP 方法來執行特定的動作。
    
    通常你使用:
    
    * `POST`:用來建立資料。
    * `GET`:用來讀取資料。
    * `PUT`:用來更新資料。
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 09 12:20:58 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/UppercaseResponseInterceptor.kt

          @Throws(IOException::class)
          override fun read(
            sink: Buffer,
            byteCount: Long,
          ): Long {
            val buffer = Buffer()
            val read = delegate.read(buffer, byteCount)
            if (read != -1L) {
              sink.write(buffer.readByteString().toAsciiUppercase())
            }
            return read
          }
        }
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartReader.kt

                else -> source.read(sink, limit)
              }
            }
          }
    
          override fun timeout(): Timeout = timeout
        }
    
        /**
         * Returns a value in [0..maxByteCount] with the number of bytes that can be read from [source]
         * in the current part. If this returns 0 the current part is exhausted; otherwise it has at
         * least one byte left to read.
         */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 02:11:14 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/CharSourceTest.java

        assertTrue(source.wasStreamOpened());
        assertFalse(source.wasStreamClosed());
    
        StringWriter writer = new StringWriter();
        char[] buf = new char[64];
        int read;
        while ((read = reader.read(buf)) != -1) {
          writer.write(buf, 0, read);
        }
        reader.close();
        writer.close();
    
        assertTrue(source.wasStreamClosed());
        assertEquals(STRING, writer.toString());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/rdma/RdmaStatistics.java

        /**
         * Record start of a read request
         *
         * @param bytes number of bytes being requested
         */
        public void recordReadRequest(int bytes) {
            // Track that a read was requested
            rdmaReads.incrementAndGet();
        }
    
        /**
         * Record successful completion of a read request
         *
         * @param bytes number of bytes successfully read
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/io/LineIterator.java

        /** {@link BufferedReader} */
        protected final BufferedReader reader;
    
        /** The line that has been read */
        protected String line = EMPTY;
    
        /**
         * Returns an {@link Iterable} that wraps a {@link LineIterator} for use in enhanced for-loops.
         *
         * @param reader
         *            The {@link Reader} to read strings from. Must not be {@literal null}.
         * @return An {@link Iterable} that wraps a {@link LineIterator}.
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  10. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

        assertThat(inputStream.read()).isEqualTo('A'.code)
        assertThat(inputStream.read()).isEqualTo('B'.code)
        assertThat(inputStream.read()).isEqualTo('C'.code)
        assertThat(inputStream.read()).isEqualTo('D'.code)
        assertThat(inputStream.read()).isEqualTo('E'.code)
        assertThat(inputStream.read()).isEqualTo('F'.code)
        assertThat(inputStream.read()).isEqualTo(-1)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 03 13:16:34 UTC 2025
    - 22.3K bytes
    - Viewed (0)
Back to top