Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 478 for lena (0.03 sec)

  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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 07 16:12:41 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  2. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 25 00:44:15 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  3. internal/s3select/csv/reader_contrib_test.go

    		f := openTestFile(b, "nyc-taxi-data-100k.csv")
    		want := 309
    		for i := 0; i < n; i++ {
    			f = append(f, f...)
    			want *= 2
    		}
    		b.Run(fmt.Sprint(len(f)/(1<<10), "K"), func(b *testing.B) {
    			b.ReportAllocs()
    			b.SetBytes(int64(len(f)))
    			b.ResetTimer()
    			var record sql.Record
    			for i := 0; i < b.N; i++ {
    				r, err := NewReader(io.NopCloser(bytes.NewBuffer(f)), &args)
    				if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 38.5K bytes
    - Viewed (0)
  4. cmd/metrics-v3.go

    		}
    		r.MustRegister(subRegistry)
    		return subRegistry
    	}
    
    	// Register all collectors and create gatherers for them.
    	gatherers := make(map[collectorPath]prometheus.Gatherer, len(collectors))
    	collectorPaths := make([]collectorPath, 0, len(collectors))
    	for path, collector := range collectors {
    		gatherers[path] = mustRegister(collector)
    		collectorPaths = append(collectorPaths, path)
    	}
    	slices.Sort(collectorPaths)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 02 00:55:27 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  5. internal/bucket/object/lock/lock.go

    func ParseObjectLockRetentionHeaders(h http.Header) (rmode RetMode, r RetentionDate, err error) {
    	retMode := h.Get(AmzObjectLockMode)
    	dateStr := h.Get(AmzObjectLockRetainUntilDate)
    	if len(retMode) == 0 || len(dateStr) == 0 {
    		return rmode, r, ErrObjectLockInvalidHeaders
    	}
    
    	rmode = parseRetMode(retMode)
    	if !rmode.Valid() {
    		return rmode, r, ErrUnknownWORMModeDirective
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 29 01:20:27 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/ResponseBody.kt

          cbuf: CharArray,
          off: Int,
          len: Int,
        ): Int {
          if (closed) throw IOException("Stream closed")
    
          val finalDelegate =
            delegate ?: InputStreamReader(
              source.inputStream(),
              source.readBomAsCharset(charset),
            ).also {
              delegate = it
            }
          return finalDelegate.read(cbuf, off, len)
        }
    
        @Throws(IOException::class)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/Kerb5Context.java

        }
    
    
        @Override
        public byte[] initSecContext ( byte[] token, int off, int len ) throws SmbException {
            try {
                return this.gssContext.initSecContext(token, off, len);
            }
            catch ( GSSException e ) {
                throw new SmbAuthException("GSSAPI mechanism failed", e);
            }
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Aug 02 08:22:42 UTC 2018
    - 13.9K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/podcgroupns_test.go

    	}}
    	podUIDNetns, err := n.FindNetnsForPods(map[types.UID]*corev1.Pod{
    		pod.UID: pod,
    	})
    	if err != nil {
    		panic(err)
    	}
    	defer podUIDNetns.Close()
    
    	if len(podUIDNetns) == 0 {
    		t.Fatal("expected to find pod netns")
    	}
    
    	expectedUID := "863b91d4-4b68-4efa-917f-4b560e3e86aa"
    	if podUIDNetns[expectedUID] == (WorkloadInfo{}) {
    		t.Fatal("expected to find pod netns under pod uid")
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/fscc/SmbInfoAllocation.java

        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Decodable#decode(byte[], int, int)
         */
        @Override
        public int decode ( byte[] buffer, int bufferIndex, int len ) throws SMBProtocolDecodingException {
            int start = bufferIndex;
            bufferIndex += 4; // skip idFileSystem
    
            this.sectPerAlloc = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.6K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/lex/slice.go

    	return &Slice{
    		tokens: tokens,
    		base:   base,
    		line:   line,
    		pos:    -1, // Next will advance to zero.
    	}
    }
    
    func (s *Slice) Next() ScanToken {
    	s.pos++
    	if s.pos >= len(s.tokens) {
    		return scanner.EOF
    	}
    	return s.tokens[s.pos].ScanToken
    }
    
    func (s *Slice) Text() string {
    	return s.tokens[s.pos].text
    }
    
    func (s *Slice) File() string {
    	return s.base.Filename()
    }
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jun 29 22:49:50 UTC 2023
    - 1.6K bytes
    - Viewed (0)
Back to top