- Sort Score
- Result 10 results
- Languages All
Results 541 - 550 of 1,346 for real (0.02 sec)
-
compat/maven-compat/src/main/java/org/apache/maven/repository/DefaultMirrorSelector.java
return !(isLocal(url.getHost()) || url.getProtocol().equals("file")); } catch (MalformedURLException e) { // bad url just skip it here. It should have been validated already, but the wagon lookup will deal with it return false; } } private static boolean isLocal(String host) { return "localhost".equals(host) || "127.0.0.1".equals(host); } /**
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 8K bytes - Viewed (0) -
cmd/untar.go
// the upstream reader after close has been called. type disconnectReader struct { r io.Reader mu sync.Mutex } func (d *disconnectReader) Read(p []byte) (n int, err error) { d.mu.Lock() defer d.mu.Unlock() if d.r != nil { return d.r.Read(p) } return 0, errors.New("reader closed") } func (d *disconnectReader) Close() error { d.mu.Lock() d.r = nil d.mu.Unlock() return nil
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 6K bytes - Viewed (2) -
.github/workflows/vulncheck.yml
name: VulnCheck on: pull_request: branches: - master push: branches: - master permissions: contents: read # to fetch code (actions/checkout) jobs: vulncheck: name: Analysis runs-on: ubuntu-latest steps: - name: Check out code into the Go module directory uses: actions/checkout@v4 - name: Set up Go uses: actions/setup-go@v5 with:
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Apr 24 23:34:11 UTC 2025 - 682 bytes - Viewed (0) -
src/bytes/reader.go
// The result is unaffected by any method calls except [Reader.Reset]. func (r *Reader) Size() int64 { return int64(len(r.s)) } // Read implements the [io.Reader] interface. func (r *Reader) Read(b []byte) (n int, err error) { if r.i >= int64(len(r.s)) { return 0, io.EOF } r.prevRune = -1 n = copy(b, r.s[r.i:]) r.i += int64(n) return }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Jul 16 18:17:37 UTC 2024 - 3.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ds/AbstractDataStore.java
} return ComponentUtil.getScriptEngineFactory().getScriptEngine(scriptType).evaluate(template, paramMap); } /** * Get the read interval. * @param paramMap The parameters. * @return The read interval. */ protected long getReadInterval(final DataStoreParams paramMap) { long readInterval = 0; final String value = paramMap.getAsString("readInterval");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 7.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComOpenAndXResponseTest.java
} @Test void testReadParameterWordsWireFormat() { byte[] buffer = new byte[1024]; int result = response.readParameterWordsWireFormat(buffer, 0); // The method should read parameter words assertTrue(result >= 0, "readParameterWordsWireFormat should return non-negative value"); } @Test void testWriteBytesWireFormat() { byte[] dst = new byte[1024];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt
} } /** * We had a bug where a custom `ResponseBody` interacted poorly with `Response.trailers()`. * Confirm custom trailers can be read without even accessing the response body. */ @Test fun customTrailersDoNotUseResponseBody() { val response = Response .Builder()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 07 18:57:05 UTC 2025 - 18K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java
// When & Then - Will throw SMBProtocolDecodingException when trying to read beyond buffer assertThrows(ArrayIndexOutOfBoundsException.class, () -> { response.readBytesWireFormat(buffer, offset); }); } @DisplayName("Should read at different offsets correctly") @ParameterizedTest @ValueSource(ints = { 0, 10, 50, 100, 200 })
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
android/guava/src/com/google/thirdparty/publicsuffix/TrieParser.java
CharSequence encoded, int start, ImmutableMap.Builder<String, PublicSuffixType> builder) { int encodedLen = encoded.length(); int idx = start; char c = '\0'; // Read all the characters for this node. for (; idx < encodedLen; idx++) { c = encoded.charAt(idx); if (c == '&' || c == '?' || c == '!' || c == ':' || c == ',') { break; } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java
assertEquals(TransPeekNamedPipeResponse.STATUS_LISTENING, response.getStatus()); // Middle bytes were read but not used } @Test @DisplayName("Test consecutive reads update state correctly") void testConsecutiveReads() { // First read byte[] buffer1 = new byte[10]; SMBUtil.writeInt2(100, buffer1, 0); SMBUtil.writeInt2(0, buffer1, 2);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0)