- Sort Score
- Result 10 results
- Languages All
Results 2431 - 2440 of 4,619 for _new (0.02 sec)
-
samples/guide/src/main/java/okhttp3/guide/GetExample.java
import java.io.IOException; import okhttp3.OkHttpClient; import okhttp3.Request; import okhttp3.Response; public class GetExample { final OkHttpClient client = new OkHttpClient(); String run(String url) throws IOException { Request request = new Request.Builder() .url(url) .build(); try (Response response = client.newCall(request).execute()) { return response.body().string(); }Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Apr 05 03:30:42 UTC 2024 - 1.3K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/WebSocketEcho.java
import okhttp3.WebSocketListener; import okio.ByteString; public final class WebSocketEcho extends WebSocketListener { private void run() { OkHttpClient client = new OkHttpClient.Builder() .readTimeout(0, TimeUnit.MILLISECONDS) .build(); Request request = new Request.Builder() .url("ws://echo.websocket.org") .build(); client.newWebSocket(request, this);Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Apr 04 11:40:21 UTC 2024 - 1.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/validation/CustomSizeValidator.java
} private void validateParameters() { if (min < 0) { throw new IllegalArgumentException("The min parameter cannot be negative."); } if (max < 0) { throw new IllegalArgumentException("The max parameter cannot be negative."); } if (max < min) { throw new IllegalArgumentException("The length cannot be negative."); } }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/SessionRequestPacket.java
*/ public class SessionRequestPacket extends SessionServicePacket { private final Name calledName, callingName; SessionRequestPacket() { calledName = new Name(); callingName = new Name(); } /** * Constructs a NetBIOS session request packet. * * @param calledName the NetBIOS name of the called (destination) hostRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponse.java
switch (this.informationLevel) { case FileInformation.FILE_BASIC_INFO: inf = new FileBasicInfo(); break; case FileInformation.FILE_STANDARD_INFO: inf = new FileStandardInfo(); break; case FileInformation.FILE_INTERNAL_INFO: inf = new FileInternalInfo(); break; default: return null; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.7K bytes - Viewed (0) -
cmd/warm-backend-minio.go
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Oct 31 22:10:24 UTC 2024 - 4K bytes - Viewed (1) -
src/archive/zip/register.go
"sync" ) // A Compressor returns a new compressing writer, writing to w. // The WriteCloser's Close method must be used to flush pending data to w. // The Compressor itself must be safe to invoke from multiple goroutines // simultaneously, but each returned writer will be used only by // one goroutine at a time. type Compressor func(w io.Writer) (io.WriteCloser, error) // A Decompressor returns a new decompressing reader, reading from r.
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Oct 13 18:36:46 UTC 2023 - 3.7K bytes - Viewed (0) -
ci/official/installer_wheel.sh
# replace the old tag in the WHEEL file in this directory with the new tag we # have in ${whl_tag}. Replace the line in WHEEL that starts with "Tag:" with # "Tag: <new whl tag>" sed -i "s/^Tag:.*/Tag: ${whl_tag}/g" "${pkg_name}"/"${pkg_name}".dist-info/WHEEL # Repack the wheel. When repacking, the wheel would be automatically tagged # with the new tag we provided in ${whl_tag}. Repacking also regnerates theRegistered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Tue Mar 04 22:39:12 UTC 2025 - 3.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache2/Relay.kt
upstream = null } fun metadata(): ByteString = metadata /** * Returns a new source that returns the same bytes as upstream. Returns null if this relay has * been closed and no further sources are possible. In that case callers should retry after * building a new relay with [.read]. */ fun newSource(): Source? { synchronized(this@Relay) { if (file == null) return null
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 28 17:15:47 UTC 2025 - 11.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java
TestDeque<String> inner = new TestDeque<>(); Deque<String> outer = Synchronized.deque(inner, inner.mutex); outer.add("foo"); // necessary because we try to remove elements later on return outer; } private static final class TestDeque<E> implements Deque<E> { private final Deque<E> delegate = new LinkedList<>(); private final Object mutex = new Object[0]; // something Serializable @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 7.4K bytes - Viewed (0)