Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for detect (0.19 sec)

  1. cmd/untar.go

    	gzip "github.com/klauspost/pgzip"
    	"github.com/pierrec/lz4"
    )
    
    // Max bzip2 concurrency across calls. 50% of GOMAXPROCS.
    var bz2Limiter = pbzip2.CreateConcurrencyPool((runtime.GOMAXPROCS(0) + 1) / 2)
    
    func detect(r *bufio.Reader) format {
    	z, err := r.Peek(4)
    	if err != nil {
    		return formatUnknown
    	}
    	for _, f := range magicHeaders {
    		if bytes.Equal(f.header, z[:len(f.header)]) {
    			return f.f
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6K bytes
    - Viewed (0)
  2. internal/bucket/lifecycle/delmarker-expiration.go

    type DelMarkerExpiration struct {
    	XMLName xml.Name `xml:"DelMarkerExpiration"`
    	Days    int      `xml:"Days,omitempty"`
    }
    
    // Empty returns if a DelMarkerExpiration XML element is empty.
    // Used to detect if lifecycle.Rule contained a DelMarkerExpiration element.
    func (de DelMarkerExpiration) Empty() bool {
    	return de.Days == 0
    }
    
    // UnmarshalXML decodes a single XML element into a DelMarkerExpiration value
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  3. common-protos/k8s.io/apimachinery/pkg/runtime/generated.proto

    //
    // +k8s:deepcopy-gen=true
    // +protobuf=true
    // +k8s:openapi-gen=true
    message RawExtension {
      // Raw is the underlying serialization of this object.
      //
      // TODO: Determine how to detect ContentType and ContentEncoding of 'Raw' data.
      optional bytes raw = 1;
    }
    
    // TypeMeta is shared by all top level objects. The proper way to use it is to inline it in your type,
    // like this:
    //
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  4. .teamcity/src/test/kotlin/ApplyDefaultConfigurationTest.kt

        }
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Wed Apr 24 08:17:56 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  5. manifests/charts/istiod-remote/templates/clusterrole.yaml

        resources: [ "workloadentries" ]
      - apiGroups: ["networking.istio.io"]
        verbs: [ "get", "watch", "list", "update", "patch", "create", "delete" ]
        resources: [ "workloadentries/status" ]
    
      # auto-detect installed CRD definitions
      - apiGroups: ["apiextensions.k8s.io"]
        resources: ["customresourcedefinitions"]
        verbs: ["get", "list", "watch"]
    
      # discovery and routing
      - apiGroups: [""]
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 16:44:32 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  6. manifests/charts/istio-control/istio-discovery/templates/clusterrole.yaml

        resources: [ "workloadentries" ]
      - apiGroups: ["networking.istio.io"]
        verbs: [ "get", "watch", "list", "update", "patch", "create", "delete" ]
        resources: [ "workloadentries/status" ]
    
      # auto-detect installed CRD definitions
      - apiGroups: ["apiextensions.k8s.io"]
        resources: ["customresourcedefinitions"]
        verbs: ["get", "list", "watch"]
    
      # discovery and routing
      - apiGroups: [""]
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 16:44:32 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/testing.md

    ## Run it
    
    After that, you just need to install `pytest`:
    
    <div class="termy">
    
    ```console
    $ pip install pytest
    
    ---> 100%
    ```
    
    </div>
    
    It will detect the files and tests automatically, execute them, and report the results back to you.
    
    Run the tests with:
    
    <div class="termy">
    
    ```console
    $ pytest
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  8. bin/build_ztunnel.sh

      # Also copy it to out/$os_arch/ztunnel as that's whats used in the build
      echo "Copying '${2}' to ${TARGET_OUT_LINUX}/ztunnel"
      cp -f "${2}" "${TARGET_OUT_LINUX}/ztunnel"
    }
    
    function maybe_build_ztunnel() {
      # TODO detect git changes or something to avoid unnecessarily building
      # BUILD_ZTUNNEL=1 with no BUILD_ZTUNNEL_REPO tries to infer BUILD_ZTUNNEL_REPO
      if [[ "${BUILD_ZTUNNEL_REPO:-}" == "" ]] && [[ "${BUILD_ZTUNNEL:-}" != "" ]]; then
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 21:46:06 GMT 2024
    - 5K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/body.md

    !!! note
        FastAPI will know that the value of `q` is not required because of the default value `= None`.
    
        The `Union` in `Union[str, None]` is not used by FastAPI, but will allow your editor to give you better support and detect errors.
    
    ## Without Pydantic
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  10. ReadMe.md

    from environmental variables - disable Gradle toolchain auto-detection by passing `-Porg.gradle.java.installations.auto-detect=false` option
    (or put it into `$GRADLE_USER_HOME/gradle.properties`).
    
    On Windows you might need to add long paths setting to the repo:
    
        git config core.longpaths true 
    
    ## Building
    
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Thu Apr 11 14:28:46 GMT 2024
    - 8.7K bytes
    - Viewed (0)
Back to top