- Sort Score
- Num 10 results
- Language All
Results 1101 - 1110 of 2,394 for Batch (0.03 seconds)
-
src/main/java/jcifs/internal/smb2/rdma/disni/DisniMemoryRegion.java
// try { // int accessFlags = convertAccessFlags(access); // memoryRegister = endpoint.registerMemory(buffer, accessFlags).execute().free(); // } catch (Exception e) { // throw new RuntimeException("Failed to register memory region", e); // } this.memoryRegister = new Object(); // PlaceholderCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 5.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/RequestParamTest.java
assertArrayEquals( new RequestParam[] { RequestParam.NONE, RequestParam.NO_TIMEOUT, RequestParam.NO_RETRY, RequestParam.RETAIN_PAYLOAD }, values, "values() order should match declaration order"); } // Happy path: valueOf resolves each constant name; toString equals name; ordinal is stable @ParameterizedTest
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.2K bytes - Click Count (0) -
samples/crawler/src/main/java/okhttp3/sample/Crawler.java
ExecutorService executor = Executors.newFixedThreadPool(threadCount); for (int i = 0; i < threadCount; i++) { executor.execute(() -> { try { drainQueue(); } catch (Throwable e) { e.printStackTrace(); } }); } executor.shutdown(); } private void drainQueue() throws Exception { for (HttpUrl url; (url = queue.take()) != null; ) {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Jul 23 00:58:06 GMT 2025 - 5K bytes - Click Count (0) -
src/main/java/jcifs/util/Strings.java
if (str == null) { return new byte[0]; } try { return str.getBytes(config.getOemEncoding()); } catch (final UnsupportedEncodingException e) { throw new RuntimeCIFSException("Unsupported OEM encoding " + config.getOemEncoding(), e); } } /**
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/ntlmssp/Type1Message.java
DEFAULT_DOMAIN = Config.getProperty("jcifs.smb1.smb.client.domain", null); String defaultWorkstation = null; try { defaultWorkstation = NbtAddress.getLocalHost().getHostName(); } catch (final UnknownHostException ex) {} DEFAULT_WORKSTATION = defaultWorkstation; } /** * Creates a Type-1 message using default values from the current * environment. */
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 7.9K bytes - Click Count (0) -
tests/test_ws_router.py
# and no error is leaked assert caught == [] def test_depend_err_middleware(): """ Verify that it is possible to write custom WebSocket middleware to catch errors """ @websocket_middleware async def errorhandler(websocket: WebSocket, call_next): try: return await call_next() except Exception as e:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Jun 11 19:08:14 GMT 2023 - 7.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndXResponse.java
final int start = bufferIndex; final int len = readStringLength(buffer, bufferIndex, 32); try { this.service = new String(buffer, bufferIndex, len, "ASCII"); } catch (final UnsupportedEncodingException uee) { return 0; } bufferIndex += len + 1; // win98 observed not returning nativeFileSystemCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.1K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java
int result = -1; synchronized (lock) { try { while (used == 0) { lock.wait(); } } catch (final InterruptedException ie) { throw new IOException(ie.getMessage()); } result = pipe_buf[beg_idx] & 0xFF; beg_idx = (beg_idx + 1) % pipe_buf.length; }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 4.6K bytes - Click Count (0) -
src/main/java/jcifs/pac/kerberos/KerberosApRequest.java
try { try (ASN1InputStream stream = new ASN1InputStream(new ByteArrayInputStream(token))) { sequence = ASN1Util.as(ASN1Sequence.class, stream); } } catch (IOException e) { throw new PACDecodingException("Malformed Kerberos Ticket", e); } return sequence; } /** * Creates a Kerberos AP request from an ASN.1 sequence. *Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.9K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionRangeResolver.java
VersionConstraint versionConstraint; try { versionConstraint = versionScheme.parseVersionConstraint(request.getArtifact().getVersion()); } catch (InvalidVersionSpecificationException e) { result.addException(e); throw new VersionRangeResolutionException(result); } result.setVersionConstraint(versionConstraint);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Dec 16 13:41:14 GMT 2025 - 11.7K bytes - Click Count (0)