Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1211 - 1220 of 2,231 for match (0.04 sec)

  1. okhttp-coroutines/src/test/kotlin/okhttp3/coroutines/ExecuteAsyncTest.kt

              call.executeAsync().use {
                withContext(Dispatchers.IO) {
                  it.body.string()
                }
                fail("No expected to get response")
              }
            }
          } catch (to: TimeoutCancellationException) {
            // expected
          }
    
          assertThat(call.isCanceled()).isTrue()
        }
      }
    
      @Test
      fun cancelledCall() {
        runTest {
          server.enqueue(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 18 01:24:38 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. samples/crawler/src/main/java/okhttp3/sample/Crawler.java

        ExecutorService executor = Executors.newFixedThreadPool(threadCount);
        for (int i = 0; i < threadCount; i++) {
          executor.execute(() -> {
            try {
              drainQueue();
            } catch (Exception e) {
              e.printStackTrace();
            }
          });
        }
        executor.shutdown();
      }
    
      private void drainQueue() throws Exception {
        for (HttpUrl url; (url = queue.take()) != null; ) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Aug 12 07:26:27 UTC 2021
    - 4.6K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/http/CallServerInterceptor.kt

              }
            }
          } else {
            exchange.noRequestBody()
          }
    
          if (requestBody == null || !requestBody.isDuplex()) {
            exchange.finishRequest()
          }
        } catch (e: IOException) {
          if (e is ConnectionShutdownException) {
            throw e // No request was sent so there's no response to read.
          }
          if (!exchange.hasFailure) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java

          fail("Expected NullPointerException or UnsupportedOperationException");
        } catch (NullPointerException | UnsupportedOperationException expected) {
        }
      }
    
      public void testMergeNullFunction() {
        try {
          getMap().merge(k0(), v3(), null);
          fail("Expected NullPointerException or UnsupportedOperationException");
        } catch (NullPointerException | UnsupportedOperationException expected) {
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. docs/ko/docs/help-fastapi.md

      스타를 늘림으로써, 다른 사용자들이 좀 더 쉽게 찾을 수 있고, 많은 사람들에게 유용한 것임을 나타낼 수 있습니다.
    
      ## GitHub 저장소에서  릴리즈 확인
    
      GitHub에서 FastAPI를 "watch"할 수 있습니다 (오른쪽 상단 watch 버튼을 클릭): https://github.com/fastapi/fastapi. 👀
    
      여기서 "Releases only"을 선택할 수 있습니다.
    
      이렇게하면, **FastAPI** 의 버그 수정 및 새로운 기능의 구현 등의 새로운 자료 (최신 버전)이 있을 때마다 (이메일) 통지를 받을 수 있습니다.
    
      ## 개발자와의 연결
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Aug 12 21:47:53 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

            }
    
            this.maxMpxCount = Math.min(this.maxMpxCount, this.server.smaxMpxCount);
            if ( this.maxMpxCount < 1 )
                this.maxMpxCount = 1;
            this.snd_buf_size = Math.min(this.snd_buf_size, this.server.maxBufferSize);
            this.recv_buf_size = Math.min(this.recv_buf_size, this.server.maxBufferSize);
            this.tx_buf_size = Math.min(this.tx_buf_size, this.server.maxBufferSize);
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 15.4K bytes
    - Viewed (0)
  7. internal/lsync/lrwmutex.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package lsync
    
    import (
    	"context"
    	"math"
    	"math/rand"
    	"sync"
    	"time"
    )
    
    // A LRWMutex is a mutual exclusion lock with timeouts.
    type LRWMutex struct {
    	id          string
    	source      string
    	isWriteLock bool
    	ref         int
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/TypeNameResolver.java

            groovyImplicitImportPackages.add("groovy.util.");
            groovyImplicitTypes.add("java.math.BigDecimal");
            groovyImplicitTypes.add("java.math.BigInteger");
    
            // check that groovy is visible.
            try {
                getClass().getClassLoader().loadClass("groovy.lang.Closure");
            } catch (ClassNotFoundException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.3K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/RobotsTxtHelper.java

                                    for (final Directive directive : currentDirectiveList) {
                                        directive.setCrawlDelay(Math.max(0, crawlDelay));
                                    }
                                } catch (final NumberFormatException e) {
                                    // ignore
                                }
                            }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/reflect/ClassPath.java

          try {
            try {
              urls.add(new File(entry).toURI().toURL());
            } catch (SecurityException e) { // File.toURI checks to see if the file is a directory
              urls.add(new URL("file", null, new File(entry).getAbsolutePath()));
            }
          } catch (MalformedURLException e) {
            logger.log(WARNING, "malformed classpath entry: " + entry, e);
          }
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 24.9K bytes
    - Viewed (0)
Back to top