Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 526 for network (0.33 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

         * with it.
         *
         * @throws IOException if a network error occurs
         */
    
        @Override
        public void close() throws IOException {
            file.close();
            tmp = null;
        }
    
        /**
         * Writes the specified byte to this file output stream.
         *
         * @throws IOException if a network error occurs
         */
    
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11K bytes
    - Viewed (0)
  2. docs/recipes.md

    === ":material-language-kotlin: Kotlin"
        ```kotlin
          private val client: OkHttpClient = OkHttpClient.Builder()
              .cache(Cache(
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/net/SmbShareInfo.java

    import jcifs.util.Hexdump;
    
    /**
     * Internal use only
     *
     *
     * <p>This class is intended for internal use.</p>
     */
    public class SmbShareInfo implements FileEntry {
    
        /**
         * The network name of the share.
         */
        protected String netName;
        /**
         * The type of the share (e.g., disk, printer, IPC).
         */
        protected int type;
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbFileOutputStream.java

        }
    
        /**
         * Closes this output stream and releases any system resources associated
         * with it.
         *
         * @throws IOException
         *             if a network error occurs
         */
    
        @Override
        public void close() throws IOException {
            try {
                if (this.handle.isValid()) {
                    this.handle.close();
                }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/msrpc/SamrDomainHandleTest.java

        }
    
        @Test
        void constructor_shouldThrowIOExceptionOnSendRecvFailure() throws IOException {
            // Arrange
            int access = 0x01;
            IOException expectedException = new IOException("Network error");
            // Simulate IOException during RPC call
            doThrow(expectedException).when(mockDcerpcHandle).sendrecv(any(MsrpcSamrOpenDomain.class));
    
            // Act & Assert
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/UniAddressTest.java

     * with different kinds of inputs.  Many static helpers in {@code
     * UniAddress} are network dependent and therefore not exercised here – they
     * would require complex stubbing of static methods.  Instead the tests
     * concentrate on the instance methods and simple static predicates
     * that are observable without network access.
     */
    @ExtendWith(MockitoExtension.class)
    class UniAddressTest {
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/ndr/NdrObject.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.dcerpc.ndr;
    
    /**
     * Base class for NDR (Network Data Representation) objects used in DCE/RPC communication.
     * This abstract class defines the interface for encoding and decoding NDR data types.
     */
    public abstract class NdrObject {
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/dcerpc/ndr/NdrObject.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.dcerpc.ndr;
    
    /**
     * Base class for NDR (Network Data Representation) objects used in DCE/RPC communication.
     * This abstract class defines the interface for encoding and decoding NDR data types.
     */
    public abstract class NdrObject {
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/DoubleInetAddressDns.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal
    
    import java.net.InetAddress
    import okhttp3.Dns
    
    /**
     * A network that always resolves two IP addresses per host. Use this when testing route selection
     * fallbacks to guarantee that a fallback address is available.
     */
    class DoubleInetAddressDns : Dns {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbPipeOutputStream.java

     */
    package jcifs.smb;
    
    import jcifs.CIFSException;
    
    /**
     * Output stream for writing to SMB named pipes.
     *
     * This class provides a stream-based interface for writing
     * data to SMB named pipes over the network.
     *
     * @author mbechler
     */
    public class SmbPipeOutputStream extends SmbFileOutputStream {
    
        private final SmbPipeHandleImpl handle;
    
        /**
         * @param handle
         * @throws SmbException
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.1K bytes
    - Viewed (0)
Back to top