- Sort Score
- Num 10 results
- Language All
Results 771 - 780 of 3,522 for throwIf (1.42 seconds)
-
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java
assertNotNull(result); assertSame(allocation, result); } @Test void testGetInfoWithClass_Incompatible() throws Exception { // Test getInfo with incompatible class throws exception response = new Trans2QueryFSInformationResponse(config, FileSystemInformation.SMB_INFO_ALLOCATION); // Set info to SmbInfoAllocation
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.9K bytes - Click Count (0) -
src/main/java/jcifs/smb1/netbios/Lmhosts.java
private static LogStream log = LogStream.getInstance(); /** * This is really just for {@link jcifs.smb1.UniAddress}. It does * not throw an {@link java.net.UnknownHostException} because this * is queried frequently and exceptions would be rather costly to * throw on a regular basis here. * * @param host the hostname to resolve * @return the resolved NbtAddress or null if not found */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java
} @Override public ArtifactRepository createDefaultLocalRepository() throws InvalidRepositoryException { return createLocalRepository(RepositorySystem.defaultUserLocalRepository); } @Override public ArtifactRepository createLocalRepository(File localRepository) throws InvalidRepositoryException { return createRepository(Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 31.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformerTest.java
@Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); transformer = new TestableAbstractFessFileTransformer(); transformer.fessConfig = ComponentUtil.getFessConfig(); } @Override protected void tearDown(TestInfo testInfo) throws Exception { super.tearDown(testInfo); } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jan 15 12:54:47 GMT 2026 - 8.1K bytes - Click Count (0) -
src/main/java/jcifs/ntlmssp/av/AvPairs.java
} /** * Decode a list of AvPairs * * @param data the encoded AV pairs data * @return individual pairs * @throws CIFSException if decoding fails */ public static List<AvPair> decode(final byte[] data) throws CIFSException { final List<AvPair> pairs = new LinkedList<>(); int pos = 0; boolean foundEnd = false; while (pos + 4 <= data.length) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.3K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/HashingInputStream.java
@Override public void mark(int readlimit) {} /** * reset() is not supported for HashingInputStream. * * @throws IOException this operation is not supported */ @Override public void reset() throws IOException { throw new IOException("reset not supported"); } /** * Returns the {@link HashCode} based on the data read from this stream. The result is unspecified
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 2.9K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/repository/DefaultArtifactRepositoryFactory.java
@Override public ArtifactRepositoryLayout getLayout(String layoutId) throws UnknownRepositoryLayoutException { return repositoryLayouts.get(layoutId); } @Override public ArtifactRepository createDeploymentArtifactRepository( String id, String url, String layoutId, boolean uniqueVersion) throws UnknownRepositoryLayoutException {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 4.7K bytes - Click Count (1) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformerSupport.java
@Override public void injectTransformedArtifacts(RepositorySystemSession session, MavenProject project) throws IOException {} @Override public void transform(MavenProject project, RepositorySystemSession session, ModelSource src, Path tgt) throws ModelBuilderException, XMLStreamException, IOException { throw new IllegalStateException("This transformer does not use this call."); }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Nov 06 18:32:25 GMT 2025 - 3.4K bytes - Click Count (0) -
samples/static-server/src/main/java/okhttp3/sample/SampleServer.java
.setBody(response.toString()); } private MockResponse fileToResponse(String path, File file) throws IOException { return new MockResponse() .setStatus("HTTP/1.1 200") .setBody(fileToBytes(file)) .addHeader("content-type: " + contentType(path)); } private Buffer fileToBytes(File file) throws IOException { Buffer result = new Buffer(); result.writeAll(Okio.source(file));
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 11 02:37:00 GMT 2026 - 5.3K bytes - Click Count (0) -
src/test/java/jcifs/pac/kerberos/KerberosPacAuthDataTest.java
@BeforeEach void setUp() { keys = new HashMap<>(); } // Test successful PAC creation with mocked Pac construction @Test void testConstructorSuccess() throws PACDecodingException { // Setup key byte[] keyBytes = new byte[32]; KerberosKey kdcKey = new KerberosKey(null, keyBytes, PacSignature.HMAC_SHA1_96_AES256, 1);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 6.3K bytes - Click Count (0)