- Sort Score
- Num 10 results
- Language All
Results 3301 - 3310 of 6,702 for If (0.02 seconds)
-
docs/en/docs/tutorial/dependencies/sub-dependencies.md
* It depends on the `query_extractor`, and assigns the value returned by it to the parameter `q`. * It also declares an optional `last_query` cookie, as a `str`. * If the user didn't provide any query `q`, we use the last query used, which we saved to a cookie before. ## Use the dependency { #use-the-dependency } Then we can use the dependency with:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 11 18:32:12 GMT 2026 - 3.7K bytes - Click Count (0) -
docs_src/custom_request_and_route/tutorial001_an_py310.py
from fastapi import Body, FastAPI, Request, Response from fastapi.routing import APIRoute class GzipRequest(Request): async def body(self) -> bytes: if not hasattr(self, "_body"): body = await super().body() if "gzip" in self.headers.getlist("Content-Encoding"): body = gzip.decompress(body) self._body = body return self._body
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 10 08:55:32 GMT 2025 - 1015 bytes - Click Count (0) -
src/main/java/jcifs/smb1/util/Hexdump.java
while (size > 0) { final int i = dstIndex + size - 1; if (i < dst.length) { dst[i] = HEX_DIGITS[val & 0x000F]; } if (val != 0) { val >>>= 4; } size--; } } /**
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.8K bytes - Click Count (0) -
cmd/bucket-encryption_test.go
shouldPass: true, }, } for i, tc := range testCases { _, err := validateBucketSSEConfig(bytes.NewReader([]byte(tc.inputXML))) if tc.shouldPass && err != nil { t.Fatalf("Test case %d: Expected to succeed but got %s", i+1, err) } if !tc.shouldPass { if err == nil || err != nil && err.Error() != tc.expectedErr.Error() { t.Fatalf("Test case %d: Expected %s but got %s", i+1, tc.expectedErr, err) } }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri May 14 07:59:05 GMT 2021 - 2.1K bytes - Click Count (0) -
build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/VersionPropertiesLoader.java
String elasticsearch = loadedProps.getProperty("elasticsearch"); if (elasticsearch == null) { throw new IllegalStateException("Elasticsearch version is missing from properties."); } if (elasticsearch.matches("[0-9]+\\.[0-9]+\\.[0-9]+") == false) { throw new IllegalStateException(
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Aug 09 07:39:30 GMT 2021 - 2.7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/MockHttp2Peer.kt
for (i in 0 until frameCount) { if (nextOutFrame == null && outFramesIterator.hasNext()) { nextOutFrame = outFramesIterator.next() } if (nextOutFrame != null && nextOutFrame.sequence == i) { val start = nextOutFrame.start var truncated: Boolean var end: Long if (outFramesIterator.hasNext()) { nextOutFrame = outFramesIterator.next()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 8.7K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
} if (method.getName().equals("hashCode") && method.getParameterTypes().length == 0) { continue; } if (method.getName().equals("toString") && method.getParameterTypes().length == 0) { continue; } testSuccessfulForwarding(interfaceType, method, wrapperFunction); testExceptionPropagation(interfaceType, method, wrapperFunction); } if (testsEquals) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 9.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapTestSuiteBuilder.java
if (derivedFeatures.contains(CollectionFeature.SUPPORTS_ADD)) { derivedFeatures.add(ListFeature.SUPPORTS_ADD_WITH_INDEX); } if (derivedFeatures.contains(CollectionFeature.SUPPORTS_REMOVE)) { derivedFeatures.add(ListFeature.SUPPORTS_REMOVE_WITH_INDEX); } if (derivedFeatures.contains(CollectionFeature.GENERAL_PURPOSE)) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jul 17 15:26:41 GMT 2025 - 5.4K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CliUtils.java
public final class CliUtils { private CliUtils() {} @Nonnull public static String stripLeadingAndTrailingQuotes(String str) { requireNonNull(str, "str"); final int length = str.length(); if (length > 1 && str.startsWith("\"") && str.endsWith("\"") && str.substring(1, length - 1).indexOf('"') == -1) { str = str.substring(1, length - 1); }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Oct 13 18:30:29 GMT 2025 - 5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndXResponse.java
bufferIndex += 2; if (extendedSecurity) { final int blobLength = readInt2(buffer, bufferIndex); bufferIndex += 2; blob = new byte[blobLength]; } return bufferIndex - start; } @Override int readBytesWireFormat(final byte[] buffer, int bufferIndex) { final int start = bufferIndex; if (extendedSecurity) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 2.9K bytes - Click Count (0)