Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 217 for recognizers (1.77 sec)

  1. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/recognizer/testing/recognizer_test.go

    	"k8s.io/apimachinery/pkg/runtime/serializer/recognizer"
    )
    
    type A struct{}
    
    func (A) GetObjectKind() schema.ObjectKind { return schema.EmptyObjectKind }
    func (a A) DeepCopyObject() runtime.Object {
    	return a
    }
    
    func TestRecognizer(t *testing.T) {
    	s := runtime.NewScheme()
    	s.AddKnownTypes(schema.GroupVersion{Version: "v1"}, &A{})
    	d := recognizer.NewDecoder(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 07:28:47 UTC 2017
    - 1.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/api/apitesting/codec.go

    import (
    	"fmt"
    	"mime"
    	"os"
    
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    	runtimeserializer "k8s.io/apimachinery/pkg/runtime/serializer"
    	"k8s.io/apimachinery/pkg/runtime/serializer/recognizer"
    )
    
    var (
    	testCodecMediaType        string
    	testStorageCodecMediaType string
    )
    
    // TestCodec returns the codec for the API version to test against, as set by the
    // KUBE_TEST_API_TYPE env var.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 01 19:31:12 UTC 2018
    - 3.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/storage/storage_codec.go

    limitations under the License.
    */
    
    package storage
    
    import (
    	"fmt"
    	"mime"
    
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    	"k8s.io/apimachinery/pkg/runtime/serializer/recognizer"
    	"k8s.io/apiserver/pkg/storage/storagebackend"
    )
    
    // StorageCodecConfig are the arguments passed to newStorageCodecFn
    type StorageCodecConfig struct {
    	StorageMediaType  string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Nov 05 15:03:23 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  4. platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/DaemonForkOptionsBuilderTest.groovy

        def "ignores other options"() {
            expect:
            !DaemonForkOptionsBuilder.findUnreliableArgument(["--show-version", "-ea", "pkg.Main"]).isPresent()
        }
    
        def "recognizes unreliable options in JVM args"() {
            expect:
            DaemonForkOptionsBuilder.findUnreliableArgument(options).get() == options[0]
            where:
            options << [
                ["-cp", "/path/to/jar"],
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 2K bytes
    - Viewed (0)
  5. BUG-BOUNTY.md

    Serious about security
    ======================
    
    Square recognizes the important contributions the security research community
    can make. We therefore encourage reporting security issues with the code
    contained in this repository.
    
    If you believe you have discovered a security vulnerability, please follow the
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 25 19:52:57 UTC 2020
    - 361 bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/ModelSchemaExtractionStrategy.java

    public interface ModelSchemaExtractionStrategy {
        /**
         * Potentially extracts the schema for a type. If this strategy does not recognize the type, this method should return without doing anything.
         *
         * If the strategy does recognize the type, it should call {@link ModelSchemaExtractionContext#found(org.gradle.model.internal.manage.schema.ModelSchema)} with the resulting schema, or one of the
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  7. tests/integration/pilot/validation_test.go

    	framework.NewTest(t).
    		Run(func(t framework.TestContext) {
    			ignored := sets.New(ignoredCRDs...)
    			recognized := sets.New[string]()
    
    			// TODO(jasonwzm) remove this after multi-version APIs are supported.
    			for _, r := range collections.Pilot.All() {
    				s := strings.Join([]string{r.Group(), r.Version(), r.Kind()}, "/")
    				recognized.Insert(s)
    				for _, alias := range r.GroupVersionAliasKinds() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 13 15:19:36 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  8. src/math/big/example_test.go

    	// the fmt package recognizes it as an implementation of fmt.Scanner.
    	r := new(big.Rat)
    	_, err := fmt.Sscan("1.5000", r)
    	if err != nil {
    		log.Println("error scanning value:", err)
    	} else {
    		fmt.Println(r)
    	}
    	// Output: 3/2
    }
    
    func ExampleInt_Scan() {
    	// The Scan function is rarely used directly;
    	// the fmt package recognizes it as an implementation of fmt.Scanner.
    	i := new(big.Int)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 26 16:15:32 UTC 2020
    - 4K bytes
    - Viewed (0)
  9. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/ConsoleRenderer.java

     */
    public class ConsoleRenderer {
        /**
         * Renders a path name as a file URL that is likely recognized by consoles.
         */
        public String asClickableFileUrl(File path) {
            // File.toURI().toString() leads to a URL like this on Mac: file:/reports/index.html
            // This URL is not recognized by the Mac console (too few leading slashes). We solve
            // this be creating an URI with an empty authority.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  10. docs/security/security.md

    | 4.x     | ✅                  | Android 5.0+ (API level 21+) and on Java 8+. |
    | 3.x     | ❌ Ended 2021-12-31 | Android 2.3+ (API level 9+) and Java 7+.     |
    
    
    ## Reporting a Vulnerability
    
    Square recognizes the important contributions the security research community
    can make. We therefore encourage reporting security issues with the code
    contained in this repository.
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Feb 27 10:19:17 UTC 2022
    - 1.4K bytes
    - Viewed (0)
Back to top