- Sort Score
- Result 10 results
- Languages All
Results 4181 - 4190 of 6,241 for IF (0.02 sec)
-
docs_src/handling_errors/tutorial002.py
from fastapi import FastAPI, HTTPException app = FastAPI() items = {"foo": "The Foo Wrestlers"} @app.get("/items-header/{item_id}") async def read_item_header(item_id: str): if item_id not in items: raise HTTPException( status_code=404, detail="Item not found", headers={"X-Error": "There goes my error"}, )
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Mar 26 19:09:53 UTC 2020 - 404 bytes - Viewed (0) -
.github/auto_assign.yml
addReviewers: false # Set to true to add assignees to pull requests addAssignees: author # A number of assignees to add to the pull request # Set to 0 to add all of the assignees. # Uses numberOfReviewers if unset.
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Mar 08 03:48:52 UTC 2022 - 286 bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/RelationshipTester.java
if (itemNumber != relatedItemNumber) { assertRelated(groupNumber, itemNumber, relatedItemNumber); } } // check unrelated items in all other groups for (int unrelatedGroupNumber = 0; unrelatedGroupNumber < groups.size(); unrelatedGroupNumber++) { if (groupNumber != unrelatedGroupNumber) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Apr 25 11:57:12 UTC 2023 - 5.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java
sort(entries, Helpers.<K, V>entryComparator(navigableMap.comparator())); // some tests assume SEVERAL == 3 if (entries.size() >= 1) { a = entries.get(0); if (entries.size() >= 3) { c = entries.get(2); } } } @CollectionSize.Require(ZERO) public void testEmptyMapFirst() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/ReflectionFreeAssertThrows.java
if (predicate == null) { throw new IllegalArgumentException( expectedThrowable + " is not yet supported by ReflectionFreeAssertThrows. Add an entry for it in the" + " map in that class."); } Object result; try { result = supplier.get(); } catch (Throwable t) { if (predicate.apply(t)) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 6.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/pager/FailureUrlPager.java
} public int getPageSize() { if (pageSize <= 0) { pageSize = getDefaultPageSize(); } return pageSize; } public void setPageSize(final int pageSize) { this.pageSize = pageSize; } public int getCurrentPageNumber() { if (currentPageNumber <= 0) { currentPageNumber = getDefaultCurrentPageNumber();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/PathMappingService.java
}); } protected void setupListCondition(final PathMappingCB cb, final PathMapPager pathMappingPager) { if (StringUtil.isNotBlank(pathMappingPager.regex)) { cb.query().setRegex_Wildcard(wrapQuery(pathMappingPager.regex)); } if (StringUtil.isNotBlank(pathMappingPager.replacement)) { cb.query().setReplacement_Wildcard(wrapQuery(pathMappingPager.replacement)); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 3.7K bytes - Viewed (0) -
src/main/java/jcifs/context/AbstractCIFSContext.java
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.context; import org.slf4j.Logger; import org.slf4j.LoggerFactory;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Tue Jul 07 10:50:16 UTC 2020 - 3.7K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/ProfileActivationContext.java
* @return The user properties, never {@code null}. */ Map<String, String> getUserProperties(); /** * Gets the base directory of the current project (if any). * * @return The base directory of the current project or {@code null} if none. */ File getProjectDirectory(); /** * Gets current calculated project properties * * @return The project properties, never {@code null}.
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.9K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactCoordinatesFactory.java
* Creates artifact coordinates. * * @param request the request holding coordinates creation parameters * @return an {@code ArtifactCoordinates}, never {@code null} * @throws IllegalArgumentException if {@code request} is null or {@code request.session} is null or invalid */ @Nonnull ArtifactCoordinates create(@Nonnull ArtifactCoordinatesFactoryRequest request); /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Tue Aug 27 21:13:34 UTC 2024 - 3.4K bytes - Viewed (0)