- Sort Score
- Num 10 results
- Language All
Results 1081 - 1090 of 2,185 for casse (0.07 seconds)
-
android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt
when (ioe.cause) { is IllegalArgumentException -> { assertEquals("Android internal error", ioe.message) } is CertificateException -> { assertTrue(ioe.cause?.cause is IllegalArgumentException) assertEquals( true, ioe.cause ?.cause ?.message
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 29.9K bytes - Click Count (0) -
docs/pt/docs/python-types.md
E genéricos do módulo `typing`: * `Union` * `Optional` * ...entre outros. //// ### Classes como tipos { #classes-as-types } Você também pode declarar uma classe como o tipo de uma variável. Digamos que você tenha uma classe `Person`, com um nome: {* ../../docs_src/python_types/tutorial010_py39.py hl[1:3] *} Então você pode declarar que uma variável é do tipo `Person`:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 16.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/Utf8Test.java
*/ public void testIsWellFormed_4BytesSamples() { // Valid 4 byte. assertWellFormed(0xF0, 0xA4, 0xAD, 0xA2); // Bad trailing bytes assertNotWellFormed(0xF0, 0xA4, 0xAD, 0x7F); assertNotWellFormed(0xF0, 0xA4, 0xAD, 0xC0); // Special cases for byte2 assertNotWellFormed(0xF0, 0x8F, 0xAD, 0xA2);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 12.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java
switch (messageType) { case WitnessNotificationMessage.WITNESS_RESOURCE_CHANGE: decodeResourceChangeMessage(buf, message); break; case WitnessNotificationMessage.WITNESS_CLIENT_MOVE: decodeClientMoveMessage(buf, message); break; case WitnessNotificationMessage.WITNESS_SHARE_MOVE:
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 16.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java
} private byte[] createMockBuffer(byte infoLevel) { switch (infoLevel) { case FileInformation.FILE_BASIC_INFO: return createMockFileBasicInfoBuffer(); case FileInformation.FILE_STANDARD_INFO: return createMockFileStandardInfoBuffer(); case FileInformation.FILE_INTERNAL_INFO: return createMockFileInternalInfoBuffer(); default:Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.9K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/MetadataBridge.java
public Nature getNature() { if (metadata instanceof RepositoryMetadata repositoryMetadata) { return switch (repositoryMetadata.getNature()) { case RepositoryMetadata.RELEASE_OR_SNAPSHOT -> Nature.RELEASE_OR_SNAPSHOT; case RepositoryMetadata.SNAPSHOT -> Nature.SNAPSHOT; default -> Nature.RELEASE; }; } else { return Nature.RELEASE; }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 4.5K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/project/harness/Xpp3DomNodeIterator.java
} return false; } if (test instanceof NodeTypeTest nodeTypeTest) { return switch (nodeTypeTest.getNodeType()) { case Compiler.NODE_TYPE_NODE -> true; case Compiler.NODE_TYPE_TEXT -> node.value() != null; default -> false; }; } return false; }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 4.4K bytes - Click Count (0) -
compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemTest.java
assertEquals(42, problem.getLineNumber()); problem = new DefaultProblem(null, null, null, Integer.MAX_VALUE, -1, null); assertEquals(Integer.MAX_VALUE, problem.getLineNumber()); // this case is not specified, might also return -1 problem = new DefaultProblem(null, null, null, Integer.MIN_VALUE, -1, null); assertEquals(Integer.MIN_VALUE, problem.getLineNumber()); } @Test
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4.9K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java
// my best guess is that the jdk authors have spent more time optimizing that callpath than this // one. (StringCoding$StringDecoder vs. StreamDecoder). StringCoding has a ton of special cases // theoretically we could duplicate all that logic here to try to beat 'new String' or at least // come close. USING_DECODER_WITH_SIZE_HINT { @OverrideCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 5.2K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java
initRepoSession(configuration); try { return projectBuilder.build(pom, configuration).getProject(); } catch (Exception e) { Throwable cause = e.getCause(); if (cause instanceof ModelBuildingException modelBuildingException) { StringBuilder message = new StringBuilder("In: " + pom + "\n\n");
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 20:01:00 GMT 2025 - 7.2K bytes - Click Count (0)