Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 111 for pastie (0.28 sec)

  1. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt

    import okio.BufferedSource
    import okio.ByteString.Companion.encodeUtf8
    import okio.Options
    
    class ServerSentEventReader(
      private val source: BufferedSource,
      private val callback: Callback,
    ) {
      private var lastId: String? = null
    
      interface Callback {
        fun onEvent(
          id: String?,
          type: String?,
          data: String,
        )
    
        fun onRetryChange(timeMs: Long)
      }
    
      /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  2. cmd/object-api-multipart_test.go

    		// Test case  1-4.
    		// Cases with invalid bucket name.
    		{bucketName: ".test", objName: "obj", PartID: 1, expectedError: fmt.Errorf("%s", "Bucket name invalid: .test")},
    		{bucketName: "------", objName: "obj", PartID: 1, expectedError: fmt.Errorf("%s", "Bucket name invalid: ------")},
    		{
    			bucketName: "$this-is-not-valid-too", objName: "obj", PartID: 1,
    			expectedError: fmt.Errorf("%s", "Bucket name invalid: $this-is-not-valid-too"),
    		},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 77.1K bytes
    - Viewed (0)
  3. docs/fr/docs/tutorial/body.md

    * Si le paramètre est déclaré comme ayant pour type un **modèle Pydantic**, il sera interprété comme faisant partie du **corps** de la requête.
    
    !!! note
        **FastAPI** saura que la valeur de `q` n'est pas requise grâce à la valeur par défaut `=None`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  4. internal/crypto/sse.go

    }
    
    // EncryptMultiPart encrypts an io.Reader which must be the body of
    // multi-part PUT request. It derives an unique encryption key from
    // the partID and the object key.
    func EncryptMultiPart(r io.Reader, partID int, key ObjectKey) io.Reader {
    	partKey := key.DerivePartKey(uint32(partID))
    	return EncryptSinglePart(r, ObjectKey(partKey))
    }
    
    // DecryptSinglePart decrypts an io.Writer which must an object
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 30 15:26:43 GMT 2022
    - 4.4K bytes
    - Viewed (0)
  5. ci/official/utilities/code_check_changed_files.bats

        git config --system --add safe.directory '*'
        git config --system protocol.file.allow always
    
        # Note that you could generate a list of all the affected targets with e.g.:
        # bazel query $(paste -sd "+" $BATS_FILE_TMPDIR/changed_files) --keep_going
        # Only shows Added, Changed, Modified, Renamed, and Type-changed files
        if [[ "$(git rev-parse --abbrev-ref HEAD)" == "pull_branch" ]]; then
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jan 10 19:39:41 GMT 2024
    - 4K bytes
    - Viewed (0)
  6. cmd/testdata/config/invalid.yaml

            - 'https://server3-pool2:9000/mnt/disk{1...4}/'
            - 'https://server4-pool2:9000/mnt/disk{1...4}/'
    
    options:
      ftp: # settings for MinIO to act as an ftp server
            address: ':8021'
            passive-port-range: '30000-40000'
      sftp: # settings for MinIO to act as an sftp server
            address: ':8022'
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Dec 07 09:33:56 GMT 2023
    - 866 bytes
    - Viewed (0)
  7. .github/ISSUE_TEMPLATE/tensorflow_issue_template.yaml

          value:
          render: shell
        validations:
          required: true
      - type: textarea
        id: logs
        attributes:
          label: Relevant log output
          description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
    Others
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Wed Jun 28 18:25:42 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  8. cmd/erasure-multipart.go

    		partNumber := partI.Number
    		if partID != partNumber {
    			internalLogIf(ctx, fmt.Errorf("part.%d.meta has incorrect corresponding part number: expected %d, got %d", partID, partID, partI.Number))
    			return oi, InvalidPart{
    				PartNumber: partID,
    			}
    		}
    
    		// Add the current part.
    		fi.AddObjectPart(partI.Number, partI.ETag, partI.Size, partI.ActualSize, partI.ModTime, partI.Index, partI.Checksums)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  9. docs/fr/docs/tutorial/query-params-str-validations.md

    ... rend le paramètre optionnel, et est donc équivalent à :
    
    ```Python
    q: Union[str, None] = None
    ```
    
    Mais déclare explicitement `q` comme étant un paramètre de requête.
    
    !!! info
        Gardez à l'esprit que la partie la plus importante pour rendre un paramètre optionnel est :
    
        ```Python
        = None
        ```
    
        ou :
    
        ```Python
        = Query(None)
        ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jul 27 18:53:21 GMT 2023
    - 9.8K bytes
    - Viewed (0)
  10. .github/PULL_REQUEST_TEMPLATE.md

    /kind flake
    /kind regression
    -->
    
    #### What this PR does / why we need it:
    
    #### Which issue(s) this PR fixes:
    <!--
    *Automatically closes linked issue when PR is merged.
    Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
    _If PR is about `failing-tests or flakes`, please post the related issues/tests in a comment and do not use `Fixes`_*
    -->
    Fixes #
    
    #### Special notes for your reviewer:
    
    Plain Text
    - Registered: Fri May 03 09:05:14 GMT 2024
    - Last Modified: Sun Aug 01 08:59:21 GMT 2021
    - 2.8K bytes
    - Viewed (0)
Back to top