- Sort Score
- Result 10 results
- Languages All
Results 401 - 410 of 3,270 for switch (0.05 sec)
-
android/guava-tests/test/com/google/common/io/BaseEncodingTest.java
/* * This one comes last to work around b/367716565. (One *possible* alternative would be to not * declare any methods in this enum, converting assertFailsToDecode into a static method that is * implemented with a `switch`. I haven't tested that.) */ @GwtIncompatible // decodingStream(Reader) DECODING_STREAM { @Override void assertFailsToDecode(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
* @since 14.0 */ // TODO: Switch to JUnit 4 and use @Parameterized and @BeforeClass // Note: @Test annotations are deliberate, as some subclasses specify @RunWith(JUnit4). @GwtIncompatible @J2ktIncompatible @J2ObjCIncompatible // com.google.common.reflect.ClassPath public abstract class AbstractPackageSanityTests extends TestCase { /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 17.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/PluginHelper.java
} /** * Installs an artifact based on its type. * * @param artifact the artifact to install */ public void installArtifact(final Artifact artifact) { switch (artifact.getType()) { case THEME: install(artifact); ComponentUtil.getThemeHelper().install(artifact); break; default: install(artifact);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 24.9K bytes - Viewed (0) -
cmd/api-errors.go
} if apiErr != ErrNone { // If there was a match in the above switch case. return apiErr } // etcd specific errors, a key is always a bucket for us return // ErrNoSuchBucket in such a case. if errors.Is(err, dns.ErrNoEntriesFound) { return ErrNoSuchBucket } switch err.(type) { case StorageFull: apiErr = ErrStorageFull case hash.BadDigest:
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Apr 16 07:34:24 UTC 2025 - 93K bytes - Viewed (1) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java
@Test @DisplayName("Test getInfo with type when info is null") void testGetInfoWithTypeWhenNull() { response = new Trans2QueryPathInformationResponse(mockConfig, FileInformation.FILE_BASIC_INFO); assertThrows(NullPointerException.class, () -> { response.getInfo(FileBasicInfo.class); }); } @Test @DisplayName("Test getInfo with compatible type")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 11.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java
* @throws IOException if an I/O error occurs */ protected Object parsePrimitive(final JsonParser jsonParser) throws IOException { final JsonToken token = jsonParser.getCurrentToken(); return switch (token) { case VALUE_STRING -> jsonParser.getText(); case VALUE_NUMBER_INT -> jsonParser.getLongValue(); case VALUE_NUMBER_FLOAT -> jsonParser.getDoubleValue(); case VALUE_TRUE -> true;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 15.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDCacheImplTest.java
rpc.names.names = new lsarpc.LsarTranslatedName[1]; rpc.names.names[0] = new lsarpc.LsarTranslatedName(); rpc.names.names[0].sid_type = (short) jcifs.SID.SID_TYPE_UNKNOWN; // not in switch list rpc.names.names[0].name = new UnicodeString("unknown", false); rpc.names.names[0].sid_index = 0; return null; }).when(handle).sendrecv(any());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14K bytes - Viewed (0) -
apache-maven/src/assembly/maven/conf/settings.xml
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jan 22 07:44:50 UTC 2025 - 11.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java
this.digest = Crypto.getMD5(); try { final byte[] serverEncryptionKey = transport.getServerEncryptionKey(); switch (transport.getContext().getConfig().getLanManCompatibility()) { case 0: case 1: case 2: this.macSigningKey = new byte[40];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.9K bytes - Viewed (0)