Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1341 - 1350 of 1,431 for elle (0.03 sec)

  1. okhttp/src/test/java/okhttp3/CacheTest.kt

          assertThat(response2.header("X-Response-ID")).isEqualTo("1")
        } else {
          assertThat(response2.header("X-Response-ID")).isEqualTo("2")
        }
      }
    
      private fun requestBodyOrNull(requestMethod: String): RequestBody? {
        return if (requestMethod == "POST" || requestMethod == "PUT") "foo".toRequestBody("text/plain".toMediaType()) else null
      }
    
      @Test
      fun postInvalidatesCache() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
  2. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

      static <E> ImmutableSortedSet<E> emptySet(Comparator<? super E> comparator) {
        checkNotNull(comparator);
        if (NATURAL_ORDER.equals(comparator)) {
          return of();
        } else {
          return new RegularImmutableSortedSet<E>(new TreeSet<E>(comparator), false);
        }
      }
    
      public static <E> Collector<E, ?, ImmutableSortedSet<E>> toImmutableSortedSet(
          Comparator<? super E> comparator) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 19 16:21:24 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/AbstractBiMap.java

        checkValue(value);
        boolean containedKey = containsKey(key);
        if (containedKey && Objects.equal(value, get(key))) {
          return value;
        }
        if (force) {
          inverse().remove(value);
        } else {
          checkArgument(!containsValue(value), "value already present: %s", value);
        }
        V oldValue = delegate.put(key, value);
        updateInverseMap(key, containedKey, oldValue, value);
        return oldValue;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  4. internal/kms/kms.go

    	// Next, update the request counters
    	if err == nil {
    		k.reqOK.Add(1)
    		return
    	}
    
    	var s3Err Error
    	if errors.As(err, &s3Err) && s3Err.Code >= http.StatusInternalServerError {
    		k.reqFail.Add(1)
    	} else {
    		k.reqErr.Add(1)
    	}
    }
    
    type kmsConn struct {
    	endpoints  []string
    	enclave    string
    	defaultKey string
    	client     *kms.Client
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AtomicLongMap.java

       */
      boolean replace(K key, long expectedOldValue, long newValue) {
        if (expectedOldValue == 0L) {
          return putIfAbsent(key, newValue) == 0L;
        } else {
          AtomicLong atomic = map.get(key);
          return (atomic == null) ? false : atomic.compareAndSet(expectedOldValue, newValue);
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. tests/test_schema_extra_examples.py

        class Item(BaseModel):
            data: str
    
            if PYDANTIC_V2:
                model_config = ConfigDict(
                    json_schema_extra={"example": {"data": "Data in schema_extra"}}
                )
            else:
    
                class Config:
                    schema_extra = {"example": {"data": "Data in schema_extra"}}
    
        @app.post("/schema_extra/")
        def schema_extra(item: Item):
            return item
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 37.7K bytes
    - Viewed (0)
  7. docs/pt/docs/tutorial/first-steps.md

    Você pode ver isso diretamente em: <a href="http://127.0.0.1:8000/openapi.json" class="external-link" target="_blank">http://127.0.0.1:8000/openapi.json</a>.
    
    Ele mostrará um JSON começando com algo como:
    
    ```JSON
    {
        "openapi": "3.0.2",
        "info": {
            "title": "FastAPI",
            "version": "0.1.0"
        },
        "paths": {
            "/items/": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  8. cmd/tier.go

    	if err != nil {
    		if errors.Is(err, errTierNotFound) {
    			return nil
    		}
    		return err
    	}
    	if !force {
    		if inuse, err := d.InUse(ctx); err != nil {
    			return err
    		} else if inuse {
    			return errTierBackendNotEmpty
    		}
    	}
    	config.Lock()
    	delete(config.Tiers, tier)
    	delete(config.drivercache, tier)
    	config.Unlock()
    	return nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:44:05 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/it/search/SearchApiTests.java

                    boolean contains = doc.get("content_description").toString().toLowerCase().contains(query1);
                    if (!contains) {
                        switchFlg = true;
                    }
                } else {
                    assertTrue(doc.get("content_description").toString().toLowerCase().contains(query2), doc.toString());
                }
            }
        }
    
        @Test
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

                        for (String s : insertionOrder) {
                          int index = order.indexOf(s);
                          if (index == -1) {
                            order.add(s);
                          } else {
                            order.add(index, s);
                          }
                        }
                        return order;
                      }
                    })
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 20.8K bytes
    - Viewed (0)
Back to top