- Sort Score
- Result 10 results
- Languages All
Results 3211 - 3220 of 6,241 for If (0.04 sec)
-
guava-tests/test/com/google/common/net/PercentEscaperTest.java
assertEquals("string with spaces", spaceEscaper.escape("string with spaces")); } /** Tests that if we add extra 'safe' characters they remain unescaped */ public void testCustomEscaper() { UnicodeEscaper e = new PercentEscaper("+*/-", false); for (char c = 0; c < 128; c++) { if ((c >= '0' && c <= '9') || (c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z')
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 5.2K bytes - Viewed (0) -
docs_src/dependencies/tutorial008d.py
raise @app.get("/items/{item_id}") def get_item(item_id: str, username: str = Depends(get_username)): if item_id == "portal-gun": raise InternalError( f"The portal gun is too dangerous to be owned by {username}" ) if item_id != "plumbus": raise HTTPException( status_code=404, detail="Item not found, there's only a plumbus here" )
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Feb 24 23:06:37 UTC 2024 - 694 bytes - Viewed (0) -
docs_src/path_params_numeric_validations/tutorial006_an.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Aug 28 23:39:15 UTC 2024 - 457 bytes - Viewed (0) -
src/cmd/cgo/doc.go
assignment context to retrieve both the return value (if any) and the C errno variable as an error (use _ to skip the result value if the function returns void). For example: n, err = C.sqrt(-1) _, err := C.voidFunc() var n, err = C.sqrt(1) Note that the C errno value may be non-zero, and thus the err result may be non-nil, even if the function call is successful. Unlike normal Go conventions,
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Oct 01 22:52:54 UTC 2024 - 44K bytes - Viewed (0) -
CODE_OF_CONDUCT.md
If the behavior is threatening or harassing, or for other reasons requires immediate escalation, please see below. However, for the vast majority of issues, we aim to empower individuals to first resolve conflicts themselves, asking for help when needed, and only after that fails to escalate further. This approach gives people more control over the outcome of their dispute.
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Fri Feb 05 18:43:16 UTC 2021 - 5.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/FavoriteLogService.java
favoriteLogBhv.insert(favoriteLog); if (fessConfig.isLoggingSearchUseLogfile()) { ComponentUtil.getSearchLogHelper().writeSearchLogEvent(favoriteLog); } return true; }).orElse(false); } public List<String> getUrlList(final String userCode, final List<String> urlList) { if (urlList.isEmpty()) { return urlList; }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 2.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/JdkPrefixProfileActivator.java
} } boolean reverse = false; if (jdk.startsWith("!")) { reverse = true; jdk = jdk.substring(1); } if (getJdkVersion().startsWith(jdk)) { return !reverse; } else { return reverse; } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/TestFileWagon.java
} private void addTransfer(String resourceName) { if (testTransferListener != null) { testTransferListener.addTransfer(resourceName); } } public boolean getIfNewer(String resourceName, File destination, long timestamp) throws TransferFailedException, ResourceDoesNotExistException, AuthorizationException { if (!insideGet) { addTransfer("getIfNewer " + resourceName);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/TransTransactNamedPipe.java
return 0; } int writeParametersWireFormat( byte[] dst, int dstIndex ) { return 0; } int writeDataWireFormat( byte[] dst, int dstIndex ) { if(( dst.length - dstIndex ) < pipeDataLen ) { if( log.level >= 3 ) log.println( "TransTransactNamedPipe data too long for buffer" ); return 0; }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 2.5K bytes - Viewed (0) -
docs_src/sql_databases/tutorial002_an_py39.py
hero = session.get(Hero, hero_id) if not hero: raise HTTPException(status_code=404, detail="Hero not found") return hero @app.patch("/heroes/{hero_id}", response_model=HeroPublic) def update_hero(hero_id: int, hero: HeroUpdate, session: SessionDep): hero_db = session.get(Hero, hero_id) if not hero_db: raise HTTPException(status_code=404, detail="Hero not found")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 09 19:44:42 UTC 2024 - 2.5K bytes - Viewed (0)