- Sort Score
- Num 10 results
- Language All
Results 431 - 440 of 4,955 for newA (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java
String read(ByteSource byteSource, Charset cs) throws IOException { return new String(byteSource.read(), cs); } }, USING_CHARSTREAMS_COPY { @Override String read(ByteSource byteSource, Charset cs) throws IOException { StringBuilder sb = new StringBuilder(); try (InputStreamReader reader = new InputStreamReader(byteSource.openStream(), cs)) { CharStreams.copy(reader, sb);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 5.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/net/PercentEscaperTest.java
} /** Tests the various ways that the space character can be handled */ public void testPlusForSpace() { UnicodeEscaper basicEscaper = new PercentEscaper("", false); UnicodeEscaper plusForSpaceEscaper = new PercentEscaper("", true); UnicodeEscaper spaceEscaper = new PercentEscaper(" ", false); assertThat(basicEscaper.escape("string with spaces")).isEqualTo("string%20with%20spaces");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 5.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/SparseImmutableTable.java
Map<R, Map<C, V>> rows = new LinkedHashMap<>(); for (R row : rowSpace) { rows.put(row, new LinkedHashMap<C, V>()); } Map<C, Map<R, V>> columns = new LinkedHashMap<>(); for (C col : columnSpace) { columns.put(col, new LinkedHashMap<R, V>()); } int[] cellRowIndices = new int[cellList.size()]; int[] cellColumnInRowIndices = new int[cellList.size()];
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 5.3K bytes - Click Count (1) -
guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java
String read(ByteSource byteSource, Charset cs) throws IOException { return new String(byteSource.read(), cs); } }, USING_CHARSTREAMS_COPY { @Override String read(ByteSource byteSource, Charset cs) throws IOException { StringBuilder sb = new StringBuilder(); try (InputStreamReader reader = new InputStreamReader(byteSource.openStream(), cs)) { CharStreams.copy(reader, sb);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 5.2K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java
super(tc, DcerpcHandle.parseBinding(url)); this.pipe = new SmbNamedPipe(makePipeUrl(), pipeFlags, unshared, tc); this.handle = this.pipe.openPipe().unwrap(SmbPipeHandleInternal.class); } private String makePipeUrl() { final DcerpcBinding binding = getBinding(); StringBuilder url =
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.6K bytes - Click Count (0) -
src/main/java/jcifs/netbios/Lmhosts.java
return getByName(new Name(tc.getConfig(), host, 0x20, null), tc); } synchronized NbtAddress getByName(final Name name, final CIFSContext tc) { NbtAddress result = null; try { if (tc.getConfig().getLmHostsFileName() != null) { final File f = new File(tc.getConfig().getLmHostsFileName()); long lm = f.lastModified();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.3K bytes - Click Count (0) -
src/main/java/jcifs/smb1/netbios/NodeStatusResponse.java
* not want to create a new NbtAddress object for this particular * address from which the query is constructed, we want to populate * the data of the existing address that should be one of several * returned by the node status. */ NodeStatusResponse(final NbtAddress queryAddress) { this.queryAddress = queryAddress; recordName = new Name(); macAddress = new byte[6]; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 5.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java
assertArrayEquals(new byte[0], lm); assertArrayEquals(new byte[0], nt); } @Test void unsupportedCredentialType() { assertThrows(SmbException.class, () -> new SmbComSessionSetupAndX(mockContext, mockNegotiate, mockAndX, "foo")); } @Test void byteArrayBlob() throws Exception {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java
Arguments.of(DialectVersion.SMB210, DialectVersion.SMB300, new int[] { 0x0210, 0x0300 }), Arguments.of(DialectVersion.SMB202, DialectVersion.SMB311, new int[] { 0x0202, 0x0210, 0x0300, 0x0302, 0x0311 }), Arguments.of(DialectVersion.SMB311, DialectVersion.SMB311, new int[] { 0x0311 })); } @ParameterizedTest
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.7K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/Trans2GetDfsReferralTest.java
void testNullPath() { Trans2GetDfsReferral cmd = new Trans2GetDfsReferral(null); byte[] buffer = new byte[10]; assertThrows(NullPointerException.class, () -> cmd.writeParametersWireFormat(buffer, 0)); } @Nested @DisplayName("read methods are no‑ops") class ReadMethods { Trans2GetDfsReferral cmd = new Trans2GetDfsReferral("/foo"); @Test void setup() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.6K bytes - Click Count (0)