- Sort Score
- Num 10 results
- Language All
Results 1471 - 1480 of 3,637 for throwIf (0.07 seconds)
-
src/test/java/jcifs/pac/kerberos/KerberosCredentialsTest.java
@BeforeEach void setUp() { MockitoAnnotations.openMocks(this); } /** * Test constructor with a valid login context. * * @throws LoginException if login fails. */ @Test void testConstructor_Success() throws LoginException { try (MockedConstruction<LoginContext> mocked = Mockito.mockConstruction(LoginContext.class, (mock, context) -> {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7K bytes - Click Count (0) -
src/test/java/jcifs/pac/kerberos/KerberosTokenTest.java
} /** * Test constructor with a token that has an incorrect OID. * * @throws IOException if an I/O error occurs */ @Test void testConstructorWithWrongOid() throws IOException { byte[] wrongOidToken = createGssApiWrapper(new ASN1ObjectIdentifier("1.2.3.4.5"), new byte[0]);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ldap/LdapManagerTest.java
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.TestInfo; public class LdapManagerTest extends UnitFessTestCase { @Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); ComponentUtil.register(new SystemHelper(), "systemHelper"); } @SuppressWarnings("serial") @Test public void test_getSearchRoleName() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/ComparisonChain.java
* for raw {@code Comparable} types in Guava in general is tracked as <a * href="https://github.com/google/guava/issues/989">#989</a>.) * * @throws ClassCastException if the parameters are not mutually comparable */ public abstract ComparisonChain compare(Comparable<?> left, Comparable<?> right); /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 11.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/ServerMessageBlock.java
* @param bufferIndex the starting offset in the buffer * @return the number of bytes read * @throws SMBProtocolDecodingException if the data cannot be decoded */ protected abstract int readBytesWireFormat(byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException; @Override public int hashCode() { return this.mid; } @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 38.9K bytes - Click Count (0) -
src/main/java/jcifs/DfsResolver.java
* @throws CIFSException if the operation fails */ boolean isTrustedDomain(CIFSContext tf, String domain) throws CIFSException; /** * Get a connection to the domain controller for a given domain * * @param tf the CIFS context * @param domain the domain name * @return connection to the domain controller * @throws CIFSException if the connection fails */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.4K bytes - Click Count (0) -
guava/src/com/google/common/base/Strings.java
* @param count the number of times to repeat it; a nonnegative integer * @return a string containing {@code string} repeated {@code count} times (the empty string if * {@code count} is zero) * @throws IllegalArgumentException if {@code count} is negative */ @InlineMe(replacement = "string.repeat(count)") @InlineMeValidationDisabled("Java 11+ API only") public static String repeat(String string, int count) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 12.5K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/srvsvcTest.java
void testGetSyntax() { String syntax = srvsvc.getSyntax(); assertEquals("4b324fc8-1670-01d3-1278-5a47bf6ee188:3.0", syntax); } @Test void testShareInfo0EncodeWithNonNullNetname() throws NdrException { srvsvc.ShareInfo0 shareInfo0 = new srvsvc.ShareInfo0(); shareInfo0.netname = "TestShare"; shareInfo0.encode(mockNdrBuffer); // Verify the encode operations
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ChecksumAlgorithmService.java
@Nonnull Collection<String> getChecksumAlgorithmNames(); /** * Returns {@link ChecksumAlgorithm} for given algorithm name, or throws if algorithm not supported. * * @throws ChecksumAlgorithmServiceException if asked algorithm name is not supported. * @throws NullPointerException if passed in name is {@code null}. */ @Nonnull ChecksumAlgorithm select(@Nonnull String algorithmName); /**Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 10 20:52:34 GMT 2024 - 6.4K bytes - Click Count (0) -
api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlService.java
public static XmlNode read(InputStream input, @Nullable InputLocationBuilder locationBuilder) throws XMLStreamException { return getService().doRead(input, locationBuilder); } /** * Reads an XML node from a reader. */ @Nonnull public static XmlNode read(Reader reader) throws XMLStreamException { return read(reader, null); } /**
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Apr 03 13:33:59 GMT 2025 - 9.2K bytes - Click Count (0)