- Sort Score
- Num 10 results
- Language All
Results 171 - 180 of 270 for startsAt (0.06 seconds)
-
cmd/encryption-v1_test.go
toRead := readLen readStart := false for i, v := range s { partOffset := int64(0) partDarePkgOffset := int64(0) if !readStart && cumulativeSum+v > skipLen { // Read starts at the current part readStart = true partOffset = skipLen - cumulativeSum // All return values except `l` are // calculated here. sn = uint32(partOffset / pkgSz)Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 19.9K bytes - Click Count (0) -
guava/src/com/google/common/base/Strings.java
|| validSurrogatePairAt(b, b.length() - s - 1)) { s--; } return a.subSequence(a.length() - s, a.length()).toString(); } /** * True when a valid surrogate pair starts at the given {@code index} in the given {@code string}. * Out-of-range indexes return false. */ @VisibleForTesting static boolean validSurrogatePairAt(CharSequence string, int index) { return index >= 0
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 12.5K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/FileUtil.java
/** * Validates that a given path is safe and does not attempt path traversal attacks. * <p> * This method checks if the resolved absolute path starts with the allowed base directory, * preventing access to files outside the intended directory through path traversal * techniques like "../../../etc/passwd". * </p> * <p> * Example usage:Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Feb 12 12:10:45 GMT 2026 - 13.2K bytes - Click Count (0) -
internal/rest/client.go
r.errorStatusOnce.Do(func() { atomic.AddUint64(&globalStats.errs, 1) }) } } // dumpHTTP - dump HTTP request and response. func (c *Client) dumpHTTP(req *http.Request, resp *http.Response) { // Starts http dump. _, err := fmt.Fprintln(c.TraceOutput, "---------START-HTTP---------") if err != nil { return } // Filter out Signature field from Authorization header.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 14.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java
// Check referral level (little-endian) assertEquals(4, dst[0] & 0xFF); assertEquals(0, dst[1] & 0xFF); // Check path starts at byte 2 byte[] expectedPathBytes = path.getBytes(StandardCharsets.UTF_16LE); byte[] actualPathBytes = new byte[expectedPathBytes.length];Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java
SMBUtil.writeInt4(6, buffer, notifyOffset + 8); // 6 bytes filename System.arraycopy("abc".getBytes("UnicodeLittleUnmarked"), 0, buffer, notifyOffset + 12, 6); // Second notification starts at aligned offset notifyOffset = 108; // 80 + 28 SMBUtil.writeInt4(0, buffer, notifyOffset); SMBUtil.writeInt4(2, buffer, notifyOffset + 4); SMBUtil.writeInt4(8, buffer, notifyOffset + 8);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 18.8K bytes - Click Count (0) -
src/cmd/asm/internal/lex/input.go
} tok = in.Stack.Next() if tok != '\n' { in.Error("unexpected token at end of #line: ", tok) } pos := src.MakePos(in.Base(), uint(in.Line())+1, 1) // +1 because #line nnn means line nnn starts on next line in.Stack.SetBase(src.NewLinePragmaBase(pos, file, objabi.AbsFile(objabi.WorkingDir(), file, *flags.TrimPath), uint(line), 1)) } // #undef processing func (in *Input) undef() { name := in.macroName()
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Nov 12 03:59:40 GMT 2025 - 12.4K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Strings.java
|| validSurrogatePairAt(b, b.length() - s - 1)) { s--; } return a.subSequence(a.length() - s, a.length()).toString(); } /** * True when a valid surrogate pair starts at the given {@code index} in the given {@code string}. * Out-of-range indexes return false. */ @VisibleForTesting static boolean validSurrogatePairAt(CharSequence string, int index) { return index >= 0
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 12.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTransportImplTest.java
@DisplayName("Basic getters: address, hostName, inflight, sessions") void basicGetters() { assertEquals(address, transport.getRemoteAddress()); assertNull(transport.getRemoteHostName(), "tconHostName starts null"); assertEquals(0, transport.getInflightRequests()); assertEquals(0, transport.getNumSessions()); } @Test @DisplayName("isDisconnected / isFailed reflect socket and state")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.6K bytes - Click Count (0) -
internal/logger/logger.go
// Get the function name _, funcName := filepath.Split(runtime.FuncForPC(pc).Name()) // Skip duplicate traces that start with file name, "<autogenerated>" // and also skip traces with function name that starts with "runtime." if !strings.HasPrefix(file, "<autogenerated>") && !strings.HasPrefix(funcName, "runtime.") { // Form and append a line of stack trace into a // collection, 'trace', to build full stack trace
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 12.4K bytes - Click Count (0)