Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 656 for pytest (0.06 sec)

  1. internal/kms/secret-key.go

    			return b, kms.AES256
    		}
    
    		b = b[:0]
    		b = append(b, c.Bytes...)
    		b = append(b, c.IV...)
    		b = append(b, c.Nonce...)
    		return b, c.Algorithm
    	}
    	return b, kms.AES256
    }
    
    // ciphertext is a structure that contains the encrypted
    // bytes and all relevant information to decrypt these
    // bytes again with a cryptographic key.
    type ciphertext struct {
    	Algorithm kms.SecretKeyType
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. .github/workflows/maven_build_itself.yml

        if: github.event_name == 'push' || ( github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork )
    
        strategy:
          matrix:
            os: [ubuntu-latest, windows-latest]
            java: [17, 21]
          fail-fast: false
    
        runs-on: ${{ matrix.os }}
    
        steps:
          - uses: actions/checkout@v4
            with:
              persist-credentials: false
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Jun 03 17:58:28 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. istioctl/pkg/util/proto/messageslice.go

    func (pSlice MessageSlice) MarshalJSON() ([]byte, error) {
    	buffer := bytes.NewBufferString("[")
    	sliceLength := len(pSlice)
    	for index, msg := range pSlice {
    		b, err := protomarshal.Marshal(msg)
    		if err != nil {
    			return nil, err
    		}
    		buffer.Write(b)
    		if index < sliceLength-1 {
    			buffer.WriteString(",")
    		}
    	}
    	buffer.WriteString("]")
    	return buffer.Bytes(), nil
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Oct 19 21:53:59 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  4. docs/em/docs/tutorial/request-files.md

    📁 🔜 📂 "ðŸ“Ļ ðŸ’―".
    
    ðŸšĨ 👆 ðŸ“Ģ 🆎 👆 *➡ 🛠ïļ ðŸ”Ē* ðŸ”Ē `bytes`, **FastAPI** 🔜 ✍ 📁 👆 &amp; 👆 🔜 ðŸ“Ļ 🎚 `bytes`.
    
    ✔ïļ ðŸĪŊ 👈 👉 ⛓ 👈 🎂 🎚 🔜 🏊 ðŸ’ū. 👉 🔜 👷 👍 ðŸĪŠ 📁.
    
    ✋ïļ ðŸ“Ī 📚 💞 ❔ 👆 💊 💰 ⚩ïļâžĄïļ ⚙ïļ `UploadFile`.
    
    ## 📁 ðŸ”Ē âŪïļ `UploadFile`
    
    🔎 📁 ðŸ”Ē âŪïļ 🆎 `UploadFile`:
    
    ```Python hl_lines="12"
    {!../../docs_src/request_files/tutorial001.py!}
    ```
    
    ⚙ïļ `UploadFile` ✔ïļ 📚 📈 ðŸĪ­ `bytes`:
    
    * 👆 ðŸšŦ ✔ïļ ⚙ïļ `File()` ðŸ”Ē ðŸ’ē ðŸ”Ē.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  5. internal/crypto/key.go

    		return etag
    	}
    	var buffer bytes.Buffer
    	mac := hmac.New(sha256.New, key[:])
    	mac.Write([]byte("SSE-etag"))
    	if _, err := sio.Encrypt(&buffer, bytes.NewReader(etag), sio.Config{Key: mac.Sum(nil), CipherSuites: fips.DARECiphers()}); err != nil {
    		logger.CriticalIf(context.Background(), errors.New("Unable to encrypt ETag using object key"))
    	}
    	return buffer.Bytes()
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 19 20:28:10 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy

    import spock.lang.TempDir
    
    import javax.inject.Inject
    
    class PublicAPIRulesTest extends Specification {
        private final static String TEST_INTERFACE_NAME = 'org.gradle.api.ApiTest'
        private final static String TEST_INTERFACE_SIMPLE_NAME = 'ApiTest'
    
        @TempDir
        File tmp
        File sourceFile
    
        BinaryCompatibilityRepository repository
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Dec 01 20:12:19 UTC 2023
    - 16K bytes
    - Viewed (0)
  7. cmd/site-replication-metrics_gen.go

    		switch msgp.UnsafeString(field) {
    		case "Count":
    			z.Count, err = dc.ReadInt64()
    			if err != nil {
    				err = msgp.WrapError(err, "Count")
    				return
    			}
    		case "Bytes":
    			z.Bytes, err = dc.ReadInt64()
    			if err != nil {
    				err = msgp.WrapError(err, "Bytes")
    				return
    			}
    		default:
    			err = dc.Skip()
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	return
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 40.6K bytes
    - Viewed (0)
  8. src/archive/zip/zip_test.go

    		},
    		{
    			name:    "long_extra",
    			extra:   bytes.Repeat([]byte{0xff}, 1<<16),
    			wanterr: errLongExtra,
    		},
    	}
    
    	// write a zip file
    	buf := new(bytes.Buffer)
    	w := NewWriter(buf)
    
    	for _, test := range headerTests {
    		h := &FileHeader{
    			Name:  test.name,
    			Extra: test.extra,
    		}
    		_, err := w.CreateHeader(h)
    		if err != test.wanterr {
    			t.Errorf("error=%v, want %v", err, test.wanterr)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/resources/local-repo/snapshot-test/poms/maven-test-snapshot-resolving-1.0.pom

    <project>
      <groupId>snapshot-test</groupId>
      <artifactId>maven-test-snapshot-resolving</artifactId>
      <packaging>jar</packaging>
      <repositories>
        <repository>
          <id>central</id>
          <name>Fake Maven Central Repository</name>
          <url>file://dummy</url>
        </repository>
      </repositories>
      <dependencies>
        <dependency>
          <groupId>snapshot-test</groupId>
          <artifactId>maven-snapshot-a</artifactId>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. internal/jwt/parser.go

    // it.
    func ParseUnverifiedStandardClaims(token []byte, claims *StandardClaims, buf []byte) (*SigningMethodHMAC, error) {
    	if bytes.Count(token, []byte(".")) != 2 {
    		return nil, jwtgo.ErrSignatureInvalid
    	}
    
    	i := bytes.IndexByte(token, '.')
    	j := bytes.LastIndexByte(token, '.')
    
    	n, err := base64DecodeBytes(token[:i], buf)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 17 16:45:46 UTC 2024
    - 14.1K bytes
    - Viewed (0)
Back to top