- Sort Score
- Result 10 results
- Languages All
Results 751 - 760 of 1,460 for example2 (0.07 sec)
-
tests/test_tutorial/test_security/test_tutorial003_an.py
assert response.status_code == 200, response.text assert response.json() == { "username": "johndoe", "full_name": "John Doe", "email": "johndoe@example.com", "hashed_password": "fakehashedsecret", "disabled": False, } def test_incorrect_token(): response = client.get("/users/me", headers={"Authorization": "Bearer nonexistent"})
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 8K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableListMultimap.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Aug 16 20:20:32 UTC 2024 - 19K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/admin/WebAuthTests.java
} @BeforeEach void createWebConfig() { final Map<String, Object> requestBody = new HashMap<>(); requestBody.put("name", "test_webconfig"); requestBody.put("urls", "http://www.example.com"); requestBody.put("user_agent", "Mozilla/5.0"); requestBody.put("num_of_thread", 5); requestBody.put("interval_time", 1000); requestBody.put("boost", 100.0);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3.9K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java
dummy += cache.getUnchecked(nextRandomKey()); } requests.addAndGet(reps); return dummy; } private int nextRandomKey() { int a = random.nextInt(max); /* * For example, if concentration=2.0, the following takes the square root of * the uniformly-distributed random integer, then truncates any fractional * part, so higher integers would appear (in this case linearly) more often
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.4K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Objects.java
* single Object array, do not get any special handling; their hash codes are based on identity * and not contents. * * <p>This is useful for implementing {@link Object#hashCode()}. For example, in an object that * has three properties, {@code x}, {@code y}, and {@code z}, one could write: * * <pre>{@code * public int hashCode() { * return Objects.hashCode(getX(), getY(), getZ()); * }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jul 22 19:03:12 UTC 2024 - 3K bytes - Viewed (0) -
.teamcity/src/main/kotlin/model/bucket-extensions.kt
if (expectedBucketSize == 0) { // The elements in the list are so small that they can't even be divided into {expectedBucketNumber}. // For example, how do you split [0,0,0,0,0] into 3 buckets? // In this case, we simply put the elements into these buckets evenly. return list.chunked(list.size / expectedBucketNumber, smallElementAggregateFunction) }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Nov 17 05:17:44 UTC 2022 - 4K bytes - Viewed (0) -
istioctl/pkg/clioptions/central.go
"The duration to wait before failing") cmd.PersistentFlags().StringVar(&o.XDSSAN, "authority", viper.GetString("AUTHORITY"), "XDS Subject Alternative Name (for example istiod.istio-system.svc)") cmd.PersistentFlags().BoolVar(&o.InsecureSkipVerify, "insecure", viper.GetBool("INSECURE"), "Skip server certificate and domain verification. (NOT SECURE!)")
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Jun 06 03:39:27 UTC 2022 - 3.2K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Toolchain.java
* <li>Retrieval of the specific version of the toolchain.</li> * <li>Configuration of toolchain properties to match the project's requirements.</li> * </ul> * * <p>Example usage:</p> * <pre> * Toolchain toolchain = ...; // Obtain a Toolchain instance * String type = toolchain.getType(); // Get the type of the toolchain
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Tue Aug 27 21:13:34 UTC 2024 - 3.2K bytes - Viewed (0) -
docs/debugging/pprofgoparser/main.go
record = true } else { skip = true } } } } return ret, nil } const helpUsage = ` At least one argument is required to run this tool. EXAMPLE: ./pprofgoparser --time 50m --margin 1m /path/to/*-goroutines-before,debug=2.txt ` func main() { flag.Parse() if len(flag.Args()) == 0 { log.Fatal(helpUsage) } var err error
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Mar 06 11:43:16 UTC 2024 - 3.4K bytes - Viewed (0) -
docs/sts/ldap.md
service on a domain that looks like `_service._proto.example.com`. For LDAP the `proto` value is always `tcp`, and `service` is usually `ldap` or `ldaps`. To enable MinIO to use the SRV records, specify the `srv_record_name` config parameter (or equivalently the `MINIO_IDENTITY_LDAP_SRV_RECORD_NAME` environment variable). This parameter can be set to `ldap` or `ldaps` and MinIO will substitute it into the `service` value. For example, when `server_addr=myldapserver.com` and `srv_record_name=ldap`,...
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 18.9K bytes - Viewed (0)