- Sort Score
- Num 10 results
- Language All
Results 2661 - 2670 of 3,670 for throwIf (0.05 seconds)
-
mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt
val protocolString = Platform.get().getSelectedProtocol(sslSocket) val protocol = if (protocolString != null) get(protocolString) else null if (protocol != Protocol.HTTP_2) { throw ProtocolException("Protocol $protocol unsupported") } val connection = Http2Connection .Builder(false, TaskRunner.INSTANCE)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 6.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2Request.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Mon Aug 25 14:34:10 GMT 2025 - 7.2K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/CycleDetectingLockFactoryBenchmark.java
@Param({"2", "3", "4", "5", "10"}) int lockNestingDepth; CycleDetectingLockFactory factory; private Lock[] plainLocks; private Lock[] detectingLocks; @BeforeExperiment void setUp() throws Exception { this.factory = CycleDetectingLockFactory.newInstance(CycleDetectingLockFactory.Policies.WARN); this.plainLocks = new Lock[lockNestingDepth]; for (int i = 0; i < lockNestingDepth; i++) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/fscc/FileEndOfFileInformation.java
} /** * {@inheritDoc} * * @see jcifs.Decodable#decode(byte[], int, int) */ @Override public int decode(final byte[] buffer, final int bufferIndex, final int len) throws SMBProtocolDecodingException { this.endOfFile = SMBUtil.readInt8(buffer, bufferIndex); return 8; } /** * {@inheritDoc} * * @see jcifs.Encodable#size() */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/fscc/FileInternalInfo.java
} /** * {@inheritDoc} * * @see jcifs.Decodable#decode(byte[], int, int) */ @Override public int decode(final byte[] buffer, final int bufferIndex, final int len) throws SMBProtocolDecodingException { this.indexNumber = SMBUtil.readInt8(buffer, bufferIndex); return 8; } /** * {@inheritDoc} * * @see jcifs.Encodable#size() */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.6K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/artifact/DefaultMavenMetadataCacheTest.java
private RepositorySystem repositorySystem; @BeforeEach void setUp() { repositorySystem = new TestRepositorySystem(); } @Test void testCacheKey() throws Exception { Artifact a1 = repositorySystem.createArtifact("testGroup", "testArtifact", "1.2.3", "jar"); @SuppressWarnings("deprecation")Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t11/ProjectInheritanceTest.java
// // p1 ---> p0 --> super model // // ---------------------------------------------------------------------- @Test void testDependencyManagementDoesNotOverrideScopeOfCurrentArtifact() throws Exception { File localRepo = getLocalRepositoryPath(); File pom0 = new File(localRepo, "p0/pom.xml"); File pom0Basedir = pom0.getParentFile(); File pom1 = new File(pom0Basedir, "p1/pom.xml");Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 2.5K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/v4/MavenModelVersionTest.java
import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; class MavenModelVersionTest { private static Model model; @BeforeAll static void setup() throws Exception { try (InputStream is = MavenModelVersionTest.class.getResourceAsStream("/xml/pom.xml")) { model = new MavenStaxReader().read(is); } } @Test void testV4Model() {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java
resetMap(createArrayWithNullValue()); } /** * Equivalent to {@link #expectMissingKeys(Object[]) expectMissingKeys} {@code (null)} except that * the call to {@code contains(null)} is permitted to throw a {@code NullPointerException}. * * @param message message to use upon assertion failure */ protected void expectNullKeyMissingWhenNullKeysUnsupported(String message) { try {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 7.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/log/allcommon/EsAbstractBehavior.java
throw new UnsupportedOperationException(msg); } @Override protected <RESULT extends Entity> ListResultBean<RESULT> createListResultBean(final ConditionBean cb, final List<RESULT> selectedList) { if (selectedList instanceof EsPagingResultBean) { return (ListResultBean<RESULT>) selectedList; }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 27 07:01:25 GMT 2025 - 26.4K bytes - Click Count (0)