Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 851 - 860 of 1,615 for var0 (0.09 seconds)

  1. internal/kms/secret-key.go

    	const randSize = 28
    	ciphertext, keyType := parseCiphertext(req.Ciphertext)
    	ciphertext, random := ciphertext[:len(ciphertext)-randSize], ciphertext[len(ciphertext)-randSize:]
    	iv, nonce := random[:16], random[16:]
    
    	var aead cipher.AEAD
    	switch keyType {
    	case kms.AES256:
    		mac := hmac.New(sha256.New, s.key)
    		mac.Write(iv)
    		sealingKey := mac.Sum(nil)
    
    		block, err := aes.NewCipher(sealingKey)
    		if err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Apr 21 16:23:51 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  2. src/archive/zip/zip_test.go

    	}
    	for i := 0; i < nFiles; i++ {
    		want := fmt.Sprintf("%d.dat", i)
    		if zr.File[i].Name != want {
    			t.Fatalf("File(%d) = %q, want %q", i, zr.File[i].Name, want)
    		}
    	}
    }
    
    func TestModTime(t *testing.T) {
    	var testTime = time.Date(2009, time.November, 10, 23, 45, 58, 0, time.UTC)
    	fh := new(FileHeader)
    	fh.SetModTime(testTime)
    	outTime := fh.ModTime()
    	if !outTime.Equal(testTime) {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu May 23 01:00:11 GMT 2024
    - 19.6K bytes
    - Click Count (0)
  3. cmd/object-api-datatypes.go

    	dataUsageBucketLen  = 11
    	dataUsageVersionLen = 7
    )
    
    // ObjectsHistogramIntervalsV1 is the list of all intervals
    // of object sizes to be included in objects histogram(V1).
    var ObjectsHistogramIntervalsV1 = [dataUsageBucketLenV1]objectHistogramInterval{
    	{"LESS_THAN_1024_B", 0, humanize.KiByte - 1},
    	{"BETWEEN_1024B_AND_1_MB", humanize.KiByte, humanize.MiByte - 1},
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  4. docs/pt/docs/how-to/conditional-openapi.md

    ## OpenAPI condicional com configurações e variáveis de ambiente { #conditional-openapi-from-settings-and-env-vars }
    
    Você pode usar facilmente as mesmas configurações do Pydantic para configurar sua OpenAPI gerada e as interfaces de usuário da documentação.
    
    Por exemplo:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/CancelTest.kt

      val handshakeCertificates = platform.localhostHandshakeCertificates()
    
      private lateinit var server: MockWebServer
      private lateinit var client: OkHttpClient
    
      val eventRecorder = EventRecorder()
    
      @BeforeEach
      fun setUp() {
        if (connectionType == H2) {
          platform.assumeHttp2Support()
        }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  6. cmd/admin-handlers-idp-openid.go

    		selfDN := cred.AccessKey
    		if cred.ParentUser != "" {
    			selfDN = cred.ParentUser
    		}
    		userList = append(userList, selfDN)
    	}
    
    	listType := r.Form.Get("listType")
    	var listSTSKeys, listServiceAccounts bool
    	switch listType {
    	case madmin.AccessKeyListUsersOnly:
    		listSTSKeys = false
    		listServiceAccounts = false
    	case madmin.AccessKeyListSTSOnly:
    		listSTSKeys = true
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sat Sep 06 17:38:46 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  7. cmd/bucket-replication-utils_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"testing"
    
    	"github.com/minio/minio/internal/bucket/replication"
    )
    
    var replicatedInfosTests = []struct {
    	name                              string
    	tgtInfos                          []replicatedTargetInfo
    	expectedCompletedSize             int64
    	expectedReplicationStatusInternal string
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  8. cmd/api-router.go

    	path    string
    }
    
    var rejectedObjAPIs = []rejectedAPI{
    	{
    		api:     "torrent",
    		methods: []string{http.MethodPut, http.MethodDelete, http.MethodGet},
    		queries: []string{"torrent", ""},
    		path:    "/{object:.+}",
    	},
    	{
    		api:     "acl",
    		methods: []string{http.MethodDelete},
    		queries: []string{"acl", ""},
    		path:    "/{object:.+}",
    	},
    }
    
    var rejectedBucketAPIs = []rejectedAPI{
    	{
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 24 04:05:19 GMT 2025
    - 23.3K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CertificatePinner.kt

        val peerCertificates = cleanedPeerCertificatesFn()
    
        for (peerCertificate in peerCertificates) {
          // Lazily compute the hashes for each certificate.
          var sha1: ByteString? = null
          var sha256: ByteString? = null
    
          for (pin in pins) {
            when (pin.hashAlgorithm) {
              "sha256" -> {
                if (sha256 == null) sha256 = peerCertificate.sha256Hash()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 14.2K bytes
    - Click Count (1)
  10. internal/grid/manager.go

    		fmt.Printf("%s handler: Got message, length %v\n", m.local, len(msg))
    	}
    
    	var message message
    	_, _, err = message.parse(msg)
    	if err != nil {
    		writeErr(fmt.Errorf("error parsing grid connect: %w", err))
    		return
    	}
    	if message.Op != OpConnect {
    		writeErr(fmt.Errorf("unexpected connect op: %v", message.Op))
    		return
    	}
    	var cReq connectReq
    	_, err = cReq.UnmarshalMsg(message.Payload)
    	if err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Nov 12 20:41:41 GMT 2024
    - 10.8K bytes
    - Click Count (0)
Back to Top