- Sort Score
- Num 10 results
- Language All
Results 251 - 260 of 755 for State (0.03 seconds)
-
src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 30.3K bytes - Click Count (0) -
src/main/java/jcifs/util/transport/Response.java
/** * Sets the expiration time for this response. * * @param exp the message timeout to set */ void setExpiration(Long exp); /** * Resets this response to its initial state. */ void reset(); /** * Gets the exception associated with this response. * * @return an exception linked to an error */ Exception getException();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java
assertTrue(result.contains("bytesPerSect=-4")); } } @Nested @DisplayName("State Management Tests") class StateManagementTests { @Test @DisplayName("Should maintain state after decode") void shouldMaintainStateAfterDecode() throws SMBProtocolDecodingException { // Given
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 25.9K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingEvent.java
* * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead */ @Deprecated(since = "4.0.0") public interface ModelBuildingEvent { /** * Gets the model being built. The precise state of this model depends on the event being fired. * * @return The model being built, never {@code null}. */ Model getModel(); /** * Gets the model building request being processed. *Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 1.7K bytes - Click Count (0) -
src/main/java/jcifs/util/AuthenticationRateLimiter.java
/** * Reset all rate limiting state */ public void reset() { accountAttempts.clear(); ipAttempts.clear(); globalAttemptsInCurrentWindow.set(0); currentWindowStart.set(System.currentTimeMillis()); totalAttemptsBlocked.set(0); totalAccountsLocked.set(0); totalIpsBlocked.set(0); log.info("Rate limiter state reset"); } @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java
return buffer; } } @Nested @DisplayName("Integration Tests") class IntegrationTests { @Test @DisplayName("Should maintain state after multiple reads") void testMultipleReads() throws SMBProtocolDecodingException { // First read byte[] buffer1 = createValidWriteResponse(1024, 512);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.9K bytes - Click Count (0) -
benchmarks/src/main/java/org/elasticsearch/common/RoundingBenchmark.java
import org.openjdk.jmh.annotations.State; import org.openjdk.jmh.annotations.Warmup; import org.openjdk.jmh.infra.Blackhole; import java.time.ZoneId; import java.util.concurrent.TimeUnit; import java.util.function.Supplier; @Fork(2) @Warmup(iterations = 10) @Measurement(iterations = 5) @BenchmarkMode(Mode.AverageTime) @OutputTimeUnit(TimeUnit.NANOSECONDS) @State(Scope.Benchmark) public class RoundingBenchmark {Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 08 16:53:28 GMT 2021 - 4.1K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/Hashing.java
*/ private static final class LinearCongruentialGenerator { private long state; LinearCongruentialGenerator(long seed) { this.state = seed; } double nextDouble() { state = 2862933555777941757L * state + 1; return ((double) ((int) (state >>> 33) + 1)) / 0x1.0p31; } } private Hashing() {}Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jul 17 15:26:41 GMT 2025 - 29.8K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/LazyLogger.java
this.loggerName = ownerOfLogger.getName(); } Logger get() { /* * We use double-checked locking. We could the try racy single-check idiom, but that would * depend on Logger to not contain mutable state. * * We could use Suppliers.memoizingSupplier here, but I micro-optimized to this implementation * to avoid the extra class for the lambda (and maybe more for memoizingSupplier itself) and the * indirection.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java
} public void testBuildMutate() { ThreadFactory factory1 = builder.setPriority(1).build(); assertEquals(1, factory1.newThread(monitoredRunnable).getPriority()); builder.setPriority(2); // change the state of the builder assertEquals(1, factory1.newThread(monitoredRunnable).getPriority()); } public void testThreadFactory() throws InterruptedException { String THREAD_NAME = "ludicrous speed";
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 7.8K bytes - Click Count (0)