Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1391 - 1400 of 3,843 for getK (0.02 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/connection/CallConnectionUser.kt

      private val call: RealCall,
      private val poolConnectionListener: ConnectionListener,
      private val chain: RealInterceptorChain,
    ) : ConnectionUser {
      private val eventListener: EventListener
        get() = call.eventListener
    
      override fun addPlanToCancel(connectPlan: ConnectPlan) {
        call.plansToCancel += connectPlan
      }
    
      override fun removePlanToCancel(connectPlan: ConnectPlan) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Mar 06 17:33:38 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. okcurl/src/main/kotlin/okhttp3/curl/internal/-MainCommon.kt

    import okhttp3.internal.http.StatusLine
    import okio.sink
    
    internal fun Main.commonCreateRequest(): Request {
      val request = Request.Builder()
    
      val requestMethod = method ?: if (data != null) "POST" else "GET"
    
      val url = url ?: throw IOException("No url provided")
    
      request.url(url)
    
      data?.let {
        request.method(requestMethod, it.toRequestBody(mediaType()))
      }
    
      for (header in headers.orEmpty()) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/service/StopwordsService.java

        }
    
        public OptionalEntity<StopwordsItem> getStopwordsItem(final String dictId, final long id) {
            return getStopwordsFile(dictId).map(file -> file.get(id).get());
        }
    
        public void store(final String dictId, final StopwordsItem stopwordsItem) {
            getStopwordsFile(dictId).ifPresent(file -> {
                if (stopwordsItem.getId() == 0) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/service/SynonymService.java

        }
    
        public OptionalEntity<SynonymItem> getSynonymItem(final String dictId, final long id) {
            return getSynonymFile(dictId).map(file -> file.get(id).get());
        }
    
        public void store(final String dictId, final SynonymItem synonymItem) {
            getSynonymFile(dictId).ifPresent(file -> {
                if (synonymItem.getId() == 0) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

       *     {@link #length}
       */
      public int get(int index) {
        Preconditions.checkElementIndex(index, length());
        return array[start + index];
      }
    
      /**
       * Returns the smallest index for which {@link #get} returns {@code target}, or {@code -1} if no
       * such index exists. Equivalent to {@code asList().indexOf(target)}.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/reflect/ClassPathTest.java

          assertThat(urls.get(0).getProtocol()).isEqualTo("file");
          assertThat(urls.get(0).getAuthority()).isNull();
          assertThat(urls.get(0).getPath()).endsWith("/relative/path/to/some.jar");
    
          assertThat(urls.get(1)).isEqualTo(new URL("file:///absolute/path/to/some.jar"));
    
          assertThat(urls.get(2).getProtocol()).isEqualTo("file");
          assertThat(urls.get(2).getAuthority()).isNull();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/dict/ApiAdminDictAction.java

    import jakarta.annotation.Resource;
    
    public class ApiAdminDictAction extends FessApiAdminAction {
        @Resource
        protected DictionaryManager dictionaryManager;
    
        // GET /api/admin/dict
        @Execute
        public JsonResponse<ApiResult> get$index() {
            final DictionaryFile<? extends DictionaryItem>[] dictFiles = dictionaryManager.getDictionaryFiles();
            return asJson(new ApiResult.ApiConfigsResponse<ListBody>()
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/eventbus/outside/OutsideEventBusTest.java

              }
            });
    
        String EVENT = "Hello!";
        bus.post(EVENT);
    
        assertEquals("Only one event should be delivered.", 1, deliveries.get());
        assertEquals("Correct string should be delivered.", EVENT, holder.get());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.8K bytes
    - Viewed (0)
  9. docs_src/security/tutorial003.py

            raise HTTPException(status_code=400, detail="Inactive user")
        return current_user
    
    
    @app.post("/token")
    async def login(form_data: OAuth2PasswordRequestForm = Depends()):
        user_dict = fake_users_db.get(form_data.username)
        if not user_dict:
            raise HTTPException(status_code=400, detail="Incorrect username or password")
        user = UserInDB(**user_dict)
        hashed_password = fake_hash_password(form_data.password)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

          GetCheckedTypeValidator validator, Future<V> future, Class<X> exceptionClass) throws X {
        validator.validateClass(exceptionClass);
        try {
          return future.get();
        } catch (InterruptedException e) {
          currentThread().interrupt();
          throw newWithCause(exceptionClass, e);
        } catch (ExecutionException e) {
          wrapAndThrowExceptionOrError(e.getCause(), exceptionClass);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 11.9K bytes
    - Viewed (0)
Back to top