- Sort Score
- Result 10 results
- Languages All
Results 851 - 860 of 1,107 for len (0.03 sec)
-
istioctl/pkg/multicluster/remote_secret.go
} } else { if len(serviceAccount.Secrets) == 1 { secretName = serviceAccount.Secrets[0].Name secretNamespace = serviceAccount.Secrets[0].Namespace } else { return nil, fmt.Errorf("wrong number of secrets (%v) in serviceaccount %s/%s, please use --secret-name to specify one", len(serviceAccount.Secrets), opt.Namespace, opt.ServiceAccountName) } }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 15 16:31:46 UTC 2024 - 23.3K bytes - Viewed (0) -
cmd/ftp-server-driver.go
if err != nil { return false, err } ldapPolicies, _ := globalIAMSys.PolicyDBGet(lookupRes.NormDN, groupDistNames...) return len(ldapPolicies) > 0, nil } return subtle.ConstantTimeCompare([]byte(sa.Credentials.SecretKey), []byte(password)) == 1, nil } ui, ok := globalIAMSys.GetUser(context.Background(), username) if !ok {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 14K bytes - Viewed (0) -
internal/s3select/sql/value.go
return left != right, nil default: return false, errCmpInvalidBoolOperator } } func arrayCompare(op string, left, right []Value) (bool, error) { switch op { case opEq: if len(left) != len(right) { return false, nil } for i, l := range left { eq, err := l.compareOp(op, &right[i]) if !eq || err != nil { return eq, err } } return true, nil case opIneq:
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Feb 25 20:31:19 UTC 2022 - 20.2K bytes - Viewed (0) -
android/guava/src/com/google/common/math/Quantiles.java
private static double[] longsToDoubles(long[] longs) { int len = longs.length; double[] doubles = new double[len]; for (int i = 0; i < len; i++) { doubles[i] = longs[i]; } return doubles; } private static double[] intsToDoubles(int[] ints) { int len = ints.length; double[] doubles = new double[len]; for (int i = 0; i < len; i++) { doubles[i] = ints[i]; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 17:02:53 UTC 2023 - 29.9K bytes - Viewed (0) -
internal/s3select/jstream/scanner_test.go
c := scanner.next() if scanner.readerErr != nil { t.Fatal(scanner.readerErr) } if c != data[i] { t.Fatalf("expected %s, got %s", string(data[i]), string(c)) } t.Logf("pos=%d remaining=%d (%s)", i, r.Len(), string(c)) i++ } } type mockReader struct { pos int mockData byte failAfter int } func newMockReader(failAfter int, data byte) *mockReader { return &mockReader{0, data, failAfter}
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 3.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContext.java
} /** * {@inheritDoc} * * @see jcifs.Decodable#decode(byte[], int, int) */ @Override public int decode ( byte[] buffer, int bufferIndex, int len ) throws SMBProtocolDecodingException { int start = bufferIndex; int nalgos = SMBUtil.readInt2(buffer, bufferIndex); int nsalt = SMBUtil.readInt2(buffer, bufferIndex + 2); bufferIndex += 4;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.8K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcBind.java
buf.dec_ndr_short(); /* max transmit frag size */ buf.dec_ndr_short(); /* max receive frag size */ buf.dec_ndr_long(); /* assoc. group */ int n = buf.dec_ndr_short(); /* secondary addr len */ buf.advance(n); /* secondary addr */ buf.align(4); buf.dec_ndr_small(); /* num results */ buf.align(4); this.result = buf.dec_ndr_short(); buf.dec_ndr_short();
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/LockingAndXRange.java
} /** * {@inheritDoc} * * @see jcifs.Decodable#decode(byte[], int, int) */ @Override public int decode ( byte[] buffer, int bufferIndex, int len ) throws SMBProtocolDecodingException { if ( this.largeFile ) { this.pid = SMBUtil.readInt2(buffer, bufferIndex); int boHigh = SMBUtil.readInt4(buffer, bufferIndex + 4);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.5K bytes - Viewed (0) -
internal/s3select/sql/jsonpath_test.go
// fmt.Println(jp) if err != nil { t.Fatalf("parse failed!: %d %v %s", i, err, tc) } // Read only the first json object from the file recs, err := getJSONStructs(b) if err != nil || len(recs) != 3 { t.Fatalf("%v or length was not 3", err) } for j, rec := range recs { // fmt.Println(rec) r, _, err := jsonpathEval(jp.PathExpr, rec) if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 2.8K bytes - Viewed (0) -
src/cmd/asm/internal/flags/flags.go
} // MultiFlag allows setting a value multiple times to collect a list, as in -I=dir1 -I=dir2. type MultiFlag []string func (m *MultiFlag) String() string { if len(*m) == 0 { return "" } return fmt.Sprint(*m) } func (m *MultiFlag) Set(val string) error { (*m) = append(*m, val) return nil } func Usage() {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Aug 22 19:18:23 UTC 2023 - 2.8K bytes - Viewed (0)