- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 118 for isCompatible (0.08 seconds)
-
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java
FileBasicInfo info = response.getInfo(FileBasicInfo.class); assertNotNull(info); assertTrue(info instanceof FileBasicInfo); } @Test @DisplayName("Test getInfo with incompatible type throws CIFSException") void testGetInfoWithIncompatibleType() throws Exception { response = new Trans2QueryPathInformationResponse(mockConfig, FileInformation.FILE_BASIC_INFO);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) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java
// Test getInfo with incompatible class throws exception response = new Trans2QueryFSInformationResponse(config, FileSystemInformation.SMB_INFO_ALLOCATION); // Set info to SmbInfoAllocation SmbInfoAllocation allocation = new SmbInfoAllocation(); setInfoField(response, allocation); // Try to get as FileFsSizeInformation (incompatible)Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponse.java
public <T extends FileSystemInformation> T getInfo(final Class<T> clazz) throws CIFSException { if (!clazz.isAssignableFrom(this.info.getClass())) { throw new CIFSException("Incompatible file information class"); } return (T) getInfo(); } @Override protected int writeSetupWireFormat(final byte[] dst, final int dstIndex) { return 0; }
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5K bytes - Click Count (0) -
buildSrc/src/main/kotlin/Osgi.kt
jarTask.doLast { bundleExtension.buildAction().execute(this) } } fun Project.applyOsgiMultiplatform(vararg bndProperties: String) { // BND is incompatible with Kotlin/Multiplatform because it assumes the JVM source set's name is // 'main'. Work around this by creating a 'main' source set that forwards to 'jvmMain'. //Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Aug 01 08:06:31 GMT 2025 - 5.1K bytes - Click Count (0) -
build-logic-commons/build-platform/build.gradle.kts
api("com.thoughtworks.qdox:qdox:2.0.3") api("com.uwyn:jhighlight:1.0") api("com.vladsch.flexmark:flexmark-all:0.34.60") { because("Higher versions tested are either incompatible (0.62.2) or bring additional unwanted dependencies (0.36.8)") } api("org.apache.pdfbox:pdfbox:2.0.24") { because("Flexmark 0.34.60 brings in a vulnerable version of pdfbox") }
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Dec 30 10:16:30 GMT 2025 - 4.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java
CIFSException exception = assertThrows(CIFSException.class, () -> response.getInfo(FileFsSizeInformation.class), "Should throw CIFSException for incompatible class"); assertEquals("Incompatible file information class", exception.getMessage()); } @Test @DisplayName("Test writeBytesWireFormat returns 0") void testWriteBytesWireFormat() {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoResponse.java
@SuppressWarnings("unchecked") public <T extends Decodable> T getInfo(final Class<T> clazz) throws CIFSException { if (!clazz.isAssignableFrom(this.info.getClass())) { throw new CIFSException("Incompatible file information class"); } return (T) getInfo(); } /** * {@inheritDoc} * * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int) */Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/EvictingQueue.java
clear(); return Iterables.addAll(this, Iterables.skip(collection, size - maxSize)); } return standardAddAll(collection); } @Override @J2ktIncompatible // Incompatible return type change. Use inherited implementation public Object[] toArray() { /* * If we could, we'd declare the no-arg `Collection.toArray()` to return "Object[] but elements
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 4.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2Request.java
@Override public final void setResponse(final CommonServerMessageBlockResponse msg) { if (msg != null && !(msg instanceof ServerMessageBlock2)) { throw new IllegalArgumentException("Incompatible response"); } this.response = (T) msg; }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Mon Aug 25 14:34:10 GMT 2025 - 7.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponse.java
@SuppressWarnings("unchecked") public <T extends FileInformation> T getInfo(final Class<T> type) throws CIFSException { if (!type.isAssignableFrom(this.info.getClass())) { throw new CIFSException("Incompatible file information class"); } return (T) this.info; } @Override protected int writeSetupWireFormat(final byte[] dst, final int dstIndex) { return 0; }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.7K bytes - Click Count (0)