- Sort Score
- Result 10 results
- Languages All
Results 251 - 260 of 432 for lens (0.02 sec)
-
src/test/java/jcifs/smb/NtlmUtilTest.java
// Helper: decode hex string to bytes private static byte[] hex(String s) { String clean = s.replaceAll("[^0-9A-Fa-f]", ""); int len = clean.length(); byte[] out = new byte[len / 2]; for (int i = 0; i < len; i += 2) { out[i / 2] = (byte) Integer.parseInt(clean.substring(i, i + 2), 16); } return out; } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12K bytes - Viewed (1) -
cmd/net.go
// localhost/loopback address to be not preferred as the // first ip on the list. Subsequently this list helps us print // a user friendly message with appropriate values. func sortIPs(ipList []string) []string { if len(ipList) == 1 { return ipList } var ipV4s []net.IP var nonIPs []string for _, ip := range ipList { nip := net.ParseIP(ip) if nip != nil { ipV4s = append(ipV4s, nip) } else {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 9.6K bytes - Viewed (1) -
clause/values.go
Columns []Column Values [][]interface{} } // Name from clause name func (Values) Name() string { return "VALUES" } // Build build from clause func (values Values) Build(builder Builder) { if len(values.Columns) > 0 { builder.WriteByte('(') for idx, column := range values.Columns { if idx > 0 { builder.WriteByte(',') } builder.WriteQuoted(column) } builder.WriteByte(')')
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Sun May 24 03:35:19 UTC 2020 - 849 bytes - Viewed (0) -
cmd/rebalstatus_string.go
_ = x[rebalFailed-4] } const _rebalStatus_name = "NoneStartedCompletedStoppedFailed" var _rebalStatus_index = [...]uint8{0, 4, 11, 20, 27, 33} func (i rebalStatus) String() string { if i >= rebalStatus(len(_rebalStatus_index)-1) { return "rebalStatus(" + strconv.FormatInt(int64(i), 10) + ")" } return _rebalStatus_name[_rebalStatus_index[i]:_rebalStatus_index[i+1]]
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Oct 25 19:36:57 UTC 2022 - 795 bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NbtSocket.java
import jcifs.smb1.util.LogStream; /** Do not use this class. Writing to the OutputStream of this type of socket requires leaving a 4 byte prefix for the NBT header. IOW you must call write( buf, 4, len ). Calling write( buf, 0, len ) will generate an error. */ public class NbtSocket extends Socket { private static final int SSN_SRVC_PORT = 139; private static final int BUFFER_SIZE = 512;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.1K bytes - Viewed (0) -
fastapi/exceptions.py
if self.endpoint_path: context += f"\n {self.endpoint_path}" return context def __str__(self) -> str: message = f"{len(self._errors)} validation error{'s' if len(self._errors) != 1 else ''}:\n" for err in self._errors: message += f" {err}\n" message += self._format_endpoint_context() return message.rstrip()Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 6.8K bytes - Viewed (0) -
callbacks/callmethod.go
if called := fc(db.Statement.ReflectValue.Interface(), tx); !called { switch db.Statement.ReflectValue.Kind() { case reflect.Slice, reflect.Array: db.Statement.CurDestIndex = 0 for i := 0; i < db.Statement.ReflectValue.Len(); i++ { if value := reflect.Indirect(db.Statement.ReflectValue.Index(i)); value.CanAddr() { fc(value.Addr().Interface(), tx) } else { db.AddError(gorm.ErrInvalidValue) return }
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Sat Feb 18 01:20:29 UTC 2023 - 846 bytes - Viewed (0) -
cmd/authtype_string.go
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sat May 06 02:53:12 UTC 2023 - 1.1K bytes - Viewed (0) -
clause/select.go
type Select struct { Distinct bool Columns []Column Expression Expression } func (s Select) Name() string { return "SELECT" } func (s Select) Build(builder Builder) { if len(s.Columns) > 0 { if s.Distinct { builder.WriteString("DISTINCT ") } for idx, column := range s.Columns { if idx > 0 { builder.WriteByte(',') } builder.WriteQuoted(column) }Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Wed Jul 14 07:51:24 UTC 2021 - 1.1K bytes - Viewed (0) -
internal/s3select/sql/parser.go
// LiteralString is a type for parsed SQL string literals type LiteralString string // Capture interface used by participle func (ls *LiteralString) Capture(values []string) error { // Remove enclosing single quote n := len(values[0]) r := values[0][1 : n-1] // Translate doubled quotes *ls = LiteralString(strings.ReplaceAll(r, "''", "'")) return nil } // LiteralList is a type for parsed SQL lists literals type LiteralList []string
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 12.9K bytes - Viewed (0)