Search Options

Results per page
Sort
Preferred Languages
Advance

Results 391 - 400 of 1,402 for result2 (0.07 sec)

  1. docs_src/body_multiple_params/tutorial004_py310.py

        *,
        item_id: int,
        item: Item,
        user: User,
        importance: int = Body(gt=0),
        q: str | None = None,
    ):
        results = {"item_id": item_id, "item": item, "user": user, "importance": importance}
        if q:
            results.update({"q": q})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Mar 10 18:49:18 UTC 2023
    - 603 bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/-HeadersCommon.kt

    internal fun Headers.commonValues(name: String): List<String> {
      var result: MutableList<String>? = null
      for (i in 0 until size) {
        if (name.equals(name(i), ignoreCase = true)) {
          if (result == null) result = ArrayList(2)
          result.add(value(i))
        }
      }
      return result?.toList().orEmpty()
    }
    
    internal fun Headers.commonIterator(): Iterator<Pair<String, String>> {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

                    null);
            InternalSession.associate(session, iSession);
    
            ArtifactResolutionResult result = repositorySystem.resolve(request);
            resolutionErrorHandler.throwErrors(request, result);
            assertEquals(2, result.getArtifacts().size());
    
            //
            // System scoped version which should
            //
            d.setScope(Artifact.SCOPE_SYSTEM);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/Cookie.kt

      override fun hashCode(): Int {
        var result = 17
        result = 31 * result + name.hashCode()
        result = 31 * result + value.hashCode()
        result = 31 * result + expiresAt.hashCode()
        result = 31 * result + domain.hashCode()
        result = 31 * result + path.hashCode()
        result = 31 * result + secure.hashCode()
        result = 31 * result + httpOnly.hashCode()
        result = 31 * result + persistent.hashCode()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:12:05 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

        protected boolean set(@Nullable V value) {
          boolean result = sync.set(value);
          if (result) {
            executionList.execute();
          }
          return result;
        }
    
        /**
         * Subclasses should invoke this method to set the result of the computation to an error, {@code
         * throwable}. This will set the state of the future to {@link OldAbstractFuture.Sync#COMPLETED}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/misc/Pair.java

        }
    
        @Override
        public int hashCode() {
            final int prime = 31;
            int result = 1;
            result = prime * result + ((first == null) ? 0 : first.hashCode());
            result = prime * result + ((second == null) ? 0 : second.hashCode());
            return result;
        }
    
        @Override
        public boolean equals(final Object obj) {
            if (this == obj) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. docs_src/query_params_str_validations/tutorial001_py310.py

    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(q: str | None = None):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 239 bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/FilteredEntryMultimap.java

          Collection<V> result = unfiltered.asMap().get(key);
          if (result == null) {
            return null;
          }
          @SuppressWarnings("unchecked") // key is equal to a K, if not a K itself
          K k = (K) key;
          result = filterCollection(result, new ValuePredicate(k));
          return result.isEmpty() ? null : result;
        }
    
        @Override
        @CheckForNull
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  9. docs/debugging/reorder-disks/main.go

    		if len(s) != 11 {
    			return nil, errors.New("unsupported /proc/self/mountinfo format")
    		}
    		result[s[2]] = s[9]
    	}
    
    	if err := scanner.Err(); err != nil {
    		return nil, err
    	}
    
    	return result, nil
    }
    
    func getDiskUUIDMap() (map[string]string, error) {
    	result := make(map[string]string)
    	err := filepath.Walk("/dev/disk/by-uuid/",
    		func(path string, info os.FileInfo, err error) error {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. docs_src/query_params_str_validations/tutorial009_py310.py

    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(q: str | None = Query(default=None, alias="item-query")):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 281 bytes
    - Viewed (0)
Back to top