- Sort Score
- Result 10 results
- Languages All
Results 271 - 280 of 432 for lens (0.02 sec)
-
src/test/java/jcifs/pac/PacSignatureTest.java
} /** * Test constructor with malformed data (too short). */ @Test void testConstructorMalformedData() { // Prepare data (only 2 bytes, less than an int) byte[] data = new byte[] { 0x01, 0x02 }; // Verify that PACDecodingException is thrown assertThrows(PACDecodingException.class, () -> { new PacSignature(data);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
cmd/os-dirent_namelen_linux.go
func direntNamlen(dirent *syscall.Dirent) (uint64, error) { const fixedHdr = uint16(unsafe.Offsetof(syscall.Dirent{}.Name)) nameBuf := (*[unsafe.Sizeof(dirent.Name)]byte)(unsafe.Pointer(&dirent.Name[0])) const nameBufLen = uint16(len(nameBuf)) limit := dirent.Reclen - fixedHdr if limit > nameBufLen { limit = nameBufLen } // Avoid bugs in long file names // https://github.com/golang/tools/commit/5f9a5413737ba4b4f692214aebee582b47c8be74
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Aug 19 01:35:22 UTC 2021 - 1.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java
protected int readSetupWireFormat(byte[] buffer, int bufferIndex, int len) { return 0; } @Override protected int readParametersWireFormat(byte[] buffer, int bufferIndex, int len) { return 0; } @Override protected int readDataWireFormat(byte[] buffer, int bufferIndex, int len) { return 0; }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/HashCode.java
// already a (presumably) high-quality hash code, any four bytes of it will do. if (bits() >= 32) { return asInt(); } // If we have less than 4 bytes, use them all. byte[] bytes = getBytesInternal(); int val = bytes[0] & 0xFF; for (int i = 1; i < bytes.length; i++) { val |= (bytes[i] & 0xFF) << (i * 8); } return val; }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 12.6K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java
checkNotNull(fromElement); checkNotNull(toElement); int cmp = comparator().compare(fromElement, toElement); checkArgument(cmp <= 0, "fromElement (%s) is less than toElement (%s)", fromElement, toElement); if (cmp == 0 && !(fromInclusive && toInclusive)) { return emptySet(comparator()); } return tailSet(fromElement, fromInclusive).headSet(toElement, toInclusive);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 15.5K bytes - Viewed (0) -
internal/logger/logger.go
// sort.Sort call, can be used to prepare arbitrary inputs for use as sets. func uniq(data sort.Interface) (size int) { p, l := 0, data.Len() if l <= 1 { return l } for i := 1; i < l; i++ { if !data.Less(p, i) { continue } p++ if p < i { data.Swap(p, i) } } return p + 1 } // Remove any duplicates and return unique entries.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 12.4K bytes - Viewed (0) -
internal/config/identity/ldap/config.go
func Lookup(s config.Config, rootCAs *x509.CertPool) (l Config, err error) { l = Config{} // Purge all removed keys first kvs := s[config.IdentityLDAPSubSys][config.Default] if len(kvs) > 0 { for _, k := range removedKeys { kvs.Delete(k) } s[config.IdentityLDAPSubSys][config.Default] = kvs } if err := s.CheckValidKeys(config.IdentityLDAPSubSys, removedKeys); err != nil {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Sep 18 11:47:48 UTC 2025 - 8.6K bytes - Viewed (0) -
scripts/label_approved.py
logging.debug(f"Processing config: {conf.model_dump_json()}") if conf.await_label is None or (conf.await_label in pr_label_by_name): logging.debug(f"Processable PR: {pr.number}") if len(approved_reviews) >= conf.number: logging.info(f"Adding label to PR: {pr.number}") pr.add_to_labels(approved_label) if conf.await_label:
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Jun 17 07:50:19 UTC 2025 - 2.2K bytes - Viewed (0) -
cmd/bucket-encryption.go
func validateBucketSSEConfig(r io.Reader) (*sse.BucketSSEConfig, error) { encConfig, err := sse.ParseBucketSSEConfig(r) if err != nil { return nil, err } if len(encConfig.Rules) == 1 { return encConfig, nil } return nil, errors.New("Unsupported bucket encryption configuration")
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Oct 25 00:44:15 UTC 2022 - 1.7K bytes - Viewed (1) -
internal/config/lambda/event/arn.go
// ARN must be in the format of arn:minio:s3-object-lambda:<REGION>:<ID>:<TYPE> if !strings.HasPrefix(s, "arn:minio:s3-object-lambda:") { return nil, &ErrInvalidARN{s} } tokens := strings.Split(s, ":") if len(tokens) != 6 { return nil, &ErrInvalidARN{s} } if tokens[4] == "" || tokens[5] == "" { return nil, &ErrInvalidARN{s} } return &ARN{ region: tokens[3], TargetID: TargetID{
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 1.6K bytes - Viewed (0)