Search Options

Results per page
Sort
Preferred Languages
Advance

Results 631 - 640 of 2,781 for throwIt (2.08 sec)

  1. samples/slack/src/main/java/okhttp3/slack/RtmSession.java

      /** Guarded by this. */
      private WebSocket webSocket;
    
      public RtmSession(SlackApi slackApi) {
        this.slackApi = slackApi;
      }
    
      public void open(String accessToken) throws IOException {
        if (webSocket != null) throw new IllegalStateException();
    
        RtmStartResponse rtmStartResponse = slackApi.rtmStart(accessToken);
        webSocket = slackApi.rtm(rtmStartResponse.url, this);
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Nov 19 20:16:58 UTC 2016
    - 2.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/entity/GeoInfo.java

         * geo-distance queries for each configured geographic field.
         *
         * @param request the HTTP servlet request containing geographic parameters
         * @throws InvalidQueryException if geo point format is invalid or parsing fails
         */
        public GeoInfo(final HttpServletRequest request) {
    
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/PostStreamingWithPipe.java

        }
    
        @Override public MediaType contentType() {
          return MEDIA_TYPE_MARKDOWN;
        }
    
        @Override public void writeTo(BufferedSink sink) throws IOException {
          sink.writeAll(pipe.source());
        }
      }
    
      public static void main(String... args) throws Exception {
        new PostStreamingWithPipe().run();
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jul 06 03:18:15 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

         * @param response The HTTP response.
         * @param chain The filter chain.
         * @throws IOException If an I/O error occurs.
         * @throws ServletException If a servlet error occurs.
         */
        protected void processSuggestRequest(final HttpServletRequest request, final HttpServletResponse response, final FilterChain chain)
                throws IOException, ServletException {
            if (!acceptHttpMethod(request, GET)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 54.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/util/Encdec.java

         * @param dlim the maximum index in the destination array
         * @return the number of bytes written
         * @throws IOException if an encoding error occurs
         */
        public static int enc_utf8(final String str, final byte[] dst, int di, final int dlim) throws IOException {
            final int start = di;
            int ch;
            final int strlen = str.length();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java

            byte[] copiedData = Arrays.copyOfRange(outputBuffer, 0, dataLength);
            assertArrayEquals(testData, copiedData);
        }
    
        @Test
        @DisplayName("Should throw exception when output buffer too small")
        void testReadBytesWireFormatBufferTooSmall() throws Exception {
            // Given
            byte[] smallOutputBuffer = new byte[10];
            Smb2ReadResponse smallBufferResponse = new Smb2ReadResponse(mockConfig, smallOutputBuffer, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  7. samples/guide/src/main/java/okhttp3/recipes/RewriteResponseCacheControl.java

      };
    
      private final OkHttpClient client;
    
      public RewriteResponseCacheControl(File cacheDirectory) throws Exception {
        Cache cache = new Cache(cacheDirectory, 1024 * 1024);
        cache.evictAll();
    
        client = new OkHttpClient.Builder()
            .cache(cache)
            .build();
      }
    
      public void run() throws Exception {
        for (int i = 0; i < 5; i++) {
          System.out.println("    Request: " + i);
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jan 12 03:31:36 UTC 2019
    - 2.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java

        }
    
        @Test
        void testReadDataWireFormatZeroLength() throws SMBProtocolDecodingException {
            // Test with zero-length data
            byte[] buffer = new byte[100];
            int result = response.readDataWireFormat(buffer, 50, 0);
            assertEquals(0, result);
        }
    
        @Test
        void testReadDataWireFormatAtBufferBoundary() throws SMBProtocolDecodingException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/eventbus/SubscriberExceptionContext.java

     * the License.
     */
    
    package com.google.common.eventbus;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    
    import java.lang.reflect.Method;
    
    /**
     * Context for an exception thrown by a subscriber.
     *
     * @since 16.0
     */
    public class SubscriberExceptionContext {
      private final EventBus eventBus;
      private final Object event;
      private final Object subscriber;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/MinimalCollection.java

      public boolean addAll(Collection<? extends E> elementsToAdd) {
        throw up();
      }
    
      @Override
      public boolean removeAll(Collection<?> elementsToRemove) {
        throw up();
      }
    
      @Override
      public boolean retainAll(Collection<?> elementsToRetain) {
        throw up();
      }
    
      @Override
      public void clear() {
        throw up();
      }
    
      private static UnsupportedOperationException up() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top