- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 822 for election (0.05 sec)
-
docs/en/docs/reference/exceptions.md
# Exceptions - `HTTPException` and `WebSocketException` These are the exceptions that you can raise to show errors to the client. When you raise an exception, as would happen with normal Python, the rest of the execution is aborted. This way you can raise these exceptions from anywhere in the code to abort a request and show the error to the client. You can use: * `HTTPException` * `WebSocketException`
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 597 bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/EnumMultisetTest.java
public static <E extends Enum<E>> EnumMultiset<E> create(Iterable<E> elements) { return EnumMultiset.create(elements); } } @J2ktIncompatible @GwtIncompatible // reflection public void testEquals() throws Exception { new ClassSanityTester() .setDistinctValues(Class.class, Color.class, Gender.class) .setDistinctValues(Enum.class, Color.BLUE, Color.RED)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/LocalCacheMapComputeTest.java
}); assertThat(cache.size()).isAtMost(1); } public void testCompute() { cache.put(key, "1"); // simultaneous deletion doParallelCacheOp( count, n -> { cache.asMap().compute(key, (k, v) -> null); }); assertEquals(0, cache.size()); } public void testComputeWithLoad() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 03:49:18 UTC 2025 - 6.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableListCopyOfConcurrentlyModifiedInputTest.java
*/ package com.google.common.collect; import static com.google.common.collect.Iterables.getOnlyElement; import static com.google.common.collect.Iterables.unmodifiableIterable; import static com.google.common.reflect.Reflection.newProxy; import static java.util.Arrays.asList; import com.google.common.annotations.GwtIncompatible; import java.lang.reflect.InvocationHandler; import java.lang.reflect.InvocationTargetException;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 6.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java
/** * Unit tests exercising {@link SmbComSessionSetupAndX}. The class under test * contains several protected helper methods and a complex constructor * that branches on credential type. These tests use reflection to call * protected methods and Mockito to stub collaborators. */ @ExtendWith(MockitoExtension.class) @MockitoSettings(strictness = Strictness.LENIENT) public class SmbComSessionSetupAndXTest { @Mock
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
src/main/java/jcifs/FileNotifyInformation.java
* The operating system detects a change in file size only when the file is written to the disk. For operating * systems that use extensive caching, detection occurs only when the cache is sufficiently flushed.s */ int FILE_NOTIFY_CHANGE_SIZE = 0x00000008; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java
import org.apache.maven.artifact.resolver.ArtifactNotFoundException; import org.apache.maven.artifact.resolver.ArtifactResolutionException; import org.apache.maven.execution.MavenExecutionRequest; import org.apache.maven.execution.MavenSession; import org.apache.maven.model.Repository; import org.apache.maven.model.building.ModelBuildingException; import org.apache.maven.model.building.ModelBuildingRequest;
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 12.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/mapping/CharMappingItem.java
return newInputs != null && newOutput != null; } /** * Checks whether this mapping item is marked for deletion. * An item is considered deleted if it has updates pending and the new inputs array is empty. * * @return true if the item is marked for deletion */ public boolean isDeleted() { return isUpdated() && newInputs.length == 0; } /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 7.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java
} @Test void testConstructor() { // Verify that the response is created with correct configuration and buffer assertNotNull(response); // Use reflection to verify the outputBuffer is set correctly try { Field outputBufferField = TransTransactNamedPipeResponse.class.getDeclaredField("outputBuffer"); outputBufferField.setAccessible(true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java
response.getServerData().encryptionKeyLength = 8; // Domain name in OEM encoding (ASCII) with null terminator byte[] domainBytes = "DOMAIN\0".getBytes("US-ASCII"); // Use reflection to set protected byteCount field int byteCountValue = 8 + domainBytes.length; setByteCount(response, byteCountValue); byte[] buffer = new byte[byteCountValue]; int bufferIndex = 0;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0)