- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 713 for erasure (0.03 sec)
-
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java
} /** * Measure the average time for equals operations. */ private long measureEqualsTime(NtlmPasswordAuthenticator auth1, NtlmPasswordAuthenticator auth2, int iterations) { // Warm up for (int i = 0; i < 100; i++) { auth1.equals(auth2); } // Measure actual timing long startTime = System.nanoTime();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java
private void weaklyReferenceQueue() { frq = new FinalizableReferenceQueue(); queueReference = new WeakReference<>(frq.queue); /* * Queue and clear a reference for good measure. We test later on that * the finalizer thread stopped, but we should test that it actually * started first. */ reference = new FinalizableWeakReference<Object>(new Object(), frq) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:07:52 UTC 2025 - 8.7K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java
* calling thread wait for that time. * * The simplest way to maintain a rate of QPS is to keep the timestamp of the last granted * request, and ensure that (1/QPS) seconds have elapsed since then. For example, for a rate of * QPS=5 (5 tokens per second), if we ensure that a request isn't granted earlier than 200ms after * the last one, then we achieve the intended rate. If a request comes and the last request was
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 19.3K bytes - Viewed (0) -
cmd/bucket-replication-metrics.go
measure: rx.measure, N: rx.N + o.N, } } func calcAvg(x, y float64, n1, n2 int64) float64 { if n1+n2 == 0 { return 0 } avg := (x*float64(n1) + y*float64(n2)) / float64(n1+n2) return avg } // Add a new transfer func (rx *XferStats) addSize(sz int64, t time.Duration) { if rx.measure == nil { rx.measure = newRateMeasurement(time.Now()) } rx.measure.incrementBytes(uint64(sz))
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Aug 15 12:04:40 UTC 2024 - 14.2K bytes - Viewed (0) -
PULL_REQUESTS_ETIQUETTE.md
# MinIO Pull Request Guidelines These guidelines ensure high-quality commits in MinIO’s GitHub repositories, maintaining a clear, valuable commit history for our open-source projects. They apply to all contributors, fostering efficient reviews and robust code. ## Why Pull Requests? Pull Requests (PRs) drive quality in MinIO’s codebase by: - Enabling peer review without pair programming. - Documenting changes for future reference.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun May 25 16:32:03 UTC 2025 - 4.7K bytes - Viewed (0) -
src/test/java/jcifs/context/CIFSContextCredentialWrapperTest.java
// and the credentials. The delegate is tested implicitly by calling super's methods. // We can directly test getCredentials() to ensure it returns the initial credentials. assertEquals(mockCredentials, wrapper.getCredentials(), "Initial credentials should be set by constructor"); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
.pre-commit-config.yaml
entry: uv run ./scripts/docs.py update-languages files: ^docs/.*|scripts/docs\.py$ pass_filenames: false - id: ensure-non-translated language: unsupported name: ensure non-translated files are not modified entry: uv run ./scripts/docs.py ensure-non-translated files: ^docs/(?!en/).*|^scripts/docs\.py$Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 11:36:58 UTC 2025 - 1.8K bytes - Viewed (1) -
android/guava-tests/benchmark/com/google/common/collect/MapsMemoryBenchmark.java
/** * A map of contents pre-created before experiment starts to only measure map creation cost. The * implementation for the creation of contents is independent and could be different from that of * the map under test. */ Map<Element, Element> contents; /** Map pre-created before experiment starts to only measure iteration cost during experiment. */ Map<Element, Element> map;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/WinErrorTest.java
} @Test @DisplayName("Constants: values match Windows error codes") void constants_have_expected_values() { // Ensure each public constant has its documented numeric value (happy path) assertAll(() -> assertEquals(0, WinError.ERROR_SUCCESS), () -> assertEquals(5, WinError.ERROR_ACCESS_DENIED),Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/script/groovy/GroovyEngine.java
* This class provides support for executing Groovy scripts with parameter binding * and DI container integration. * * <p>Thread Safety: This class is thread-safe. Each evaluate() call creates * a new GroovyShell instance to ensure thread isolation.</p> * * <p>Resource Management: GroovyClassLoader instances are properly managed * and cleaned up after script evaluation to prevent memory leaks.</p> */
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 5.5K bytes - Viewed (0)