- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 421 for opens (0.01 sec)
-
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
} @Test @DisplayName("open(): acquires and releases handle (no I/O)") void open_acquiresAndReleasesHandle() throws Exception { SmbRandomAccessFile raf = spy(newInstance("rw", false, true, false)); SmbFileHandleImpl fh = mock(SmbFileHandleImpl.class); doReturn(fh).when(raf).ensureOpen(); // Act raf.open(); // Assert: open() ensures handle and closes it via try-with-resources
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/ExchangeCodec.kt
/* * Copyright (C) 2012 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jul 29 21:11:09 UTC 2025 - 3.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/HttpHeaders.kt
/* * Copyright (C) 2012 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 7.2K bytes - Viewed (0) -
docs/en/docs/tutorial/path-params.md
/// ## Data <abbr title="also known as: serialization, parsing, marshalling">conversion</abbr> { #data-conversion } If you run this example and open your browser at <a href="http://127.0.0.1:8000/items/3" class="external-link" target="_blank">http://127.0.0.1:8000/items/3</a>, you will see a response of: ```JSON {"item_id":3} ``` /// check
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:29:01 UTC 2025 - 9.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbPipeHandleInternal.java
* @throws CIFSException if an error occurs connecting to the tree */ SmbTreeHandleInternal ensureTreeConnected() throws CIFSException; /** * Ensures that the file handle is open and returns it. * * @return file handle * @throws CIFSException if an error occurs opening the file */ SmbFileHandle ensureOpen() throws CIFSException; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java
protected void doSendFragment(final byte[] buf, final int off, final int length, final boolean isDirect) throws IOException { if (out != null && !out.isOpen()) { throw new IOException("DCERPC pipe is no longer open"); } if (in == null) { in = (SmbFileInputStream) pipe.getNamedPipeInputStream(); } if (out == null) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/platform/Jdk9Platform.kt
import javax.net.ssl.X509TrustManager import okhttp3.Protocol import okhttp3.internal.SuppressSignatureCheck /** * OpenJDK 9+ and JDK8 build 252+. * * This may also be used for Android tests with Robolectric. */ open class Jdk9Platform : Platform() { @SuppressSignatureCheck override fun configureTlsExtensions( sslSocket: SSLSocket, hostname: String?, protocols: List<@JvmSuppressWildcards Protocol>, ) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu May 29 16:52:38 UTC 2025 - 3.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComSeek.java
import jcifs.internal.util.SMBUtil; /** * SMB1 COM_SEEK command implementation. * * This command changes the current file position pointer for a file. * It allows seeking to different positions within an open file. * * @author mbechler */ public class SmbComSeek extends ServerMessageBlock { /** * Constructs a seek command. * * @param config the configuration
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.4K bytes - Viewed (0) -
docs/en/docs/advanced/custom-response.md
{* ../../docs_src/custom_response/tutorial007.py hl[2,14] *} #### Using `StreamingResponse` with file-like objects { #using-streamingresponse-with-file-like-objects } If you have a file-like object (e.g. the object returned by `open()`), you can create a generator function to iterate over that file-like object. That way, you don't have to read it all first in memory, and you can pass that generator function to the `StreamingResponse`, and return it.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 12.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/MultiInputStreamTest.java
new ByteSource() { @Override public InputStream openStream() throws IOException { if (counter[0]++ != 0) { throw new IllegalStateException("More than one source open"); } return new FilterInputStream(source.openStream()) { @Override public void close() throws IOException { super.close(); counter[0]--;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4.6K bytes - Viewed (0)