- Sort Score
- Result 10 results
- Languages All
Results 901 - 910 of 3,187 for throwIt (0.15 sec)
-
src/test/java/jcifs/smb/SmbSessionImplTest.java
verify(transport, times(1)).acquire(); assertTrue(session.isInUse()); } @Test @DisplayName("getSessionKey: throws when absent, returns when present") void testGetSessionKey() throws Exception { SmbSessionImpl session = newSession(); // Absent key -> CIFSException CIFSException noKey = assertThrows(CIFSException.class, session::getSessionKey);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/zip/ZipFileUtil.java
return FileUtil.getCanonicalPath(zipFile); } /** * Closes the Zip file. * <p> * If {@link ZipFile#close()} throws an exception, an error message is logged. The exception is not rethrown. * </p> * * @param zipFile * Zip file. Must not be {@literal null}. */
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 4.7K bytes - Viewed (0) -
src/test/java/org/codelibs/opensearch/extension/analysis/NGramSynonymTokenizer.java
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Sat Mar 15 06:51:20 UTC 2025 - 17K bytes - Viewed (0) -
src/main/java/jcifs/internal/dtyp/SecurityDescriptor.java
* @param bufferIndex the starting offset in the buffer * @param len the length of data to decode * @throws IOException if an I/O error occurs during decoding */ public SecurityDescriptor(final byte[] buffer, final int bufferIndex, final int len) throws IOException { this.decode(buffer, bufferIndex, len); } /** * Gets the type flags of this security descriptor. *Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextResponse.java
*/ public int getLeaseFlags() { return leaseFlags; } @Override public int decode(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException { int start = bufferIndex; if (len < 32) { throw new SMBProtocolDecodingException("Lease V1 context data too short: " + len); } // Read lease V1 data (32 bytes) byte[] keyBytes = new byte[16];Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/netbios/SessionRequestPacket.java
return dstIndex - start; } @Override int readTrailerWireFormat(final InputStream in, final byte[] buffer, int bufferIndex) throws IOException { final int start = bufferIndex; if (in.read(buffer, bufferIndex, this.length) != this.length) { throw new IOException("invalid session request wire format"); } bufferIndex += this.calledName.readWireFormat(buffer, bufferIndex);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.7K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataTreeNode.java
return md == null ? "no metadata" : md.toString(); } // ------------------------------------------------------------------ public String graphHash() throws MetadataResolutionException { if (md == null) { throw new MetadataResolutionException( "treenode without metadata, parent: " + (parent == null ? "null" : parent.toString())); }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtlmContext.java
* @param offset offset into the token array * @param len length of token data * @return the output token bytes * @throws SmbException if an error occurs during context initialization */ public byte[] initSecContext(byte[] token, final int offset, final int len) throws SmbException { switch (state) { case 1:Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/io/Smb2ReadResponse.java
protected int readBytesWireFormat(final byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException { final int start = bufferIndex; final int structureSize = SMBUtil.readInt2(buffer, bufferIndex); if (structureSize == 9) { return this.readErrorResponse(buffer, bufferIndex); } if (structureSize != 17) { throw new SMBProtocolDecodingException("Expected structureSize = 17");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.4K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java
if (clazz.isAnnotation()) { return (Class<? extends Annotation>) clazz; } else { throw new IllegalArgumentException(rootLocaleFormat("%s is not an annotation.", clazz)); } } public void testFeatureEnums() throws Exception { assertGoodFeatureEnum(CollectionFeature.class); assertGoodFeatureEnum(ListFeature.class); assertGoodFeatureEnum(SetFeature.class);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 00:25:21 UTC 2025 - 4.5K bytes - Viewed (0)