Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 200 for Canonicalize (0.18 sec)

  1. pkg/registry/resource/resourceslice/strategy.go

    	return validation.ValidateResourceSlice(slice)
    }
    
    func (resourceSliceStrategy) WarningsOnCreate(ctx context.Context, obj runtime.Object) []string {
    	return nil
    }
    
    func (resourceSliceStrategy) Canonicalize(obj runtime.Object) {
    }
    
    func (resourceSliceStrategy) AllowCreateOnUpdate() bool {
    	return false
    }
    
    func (resourceSliceStrategy) PrepareForUpdate(ctx context.Context, obj, old runtime.Object) {
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. src/net/textproto/reader.go

    // canonicalize them.
    func canonicalMIMEHeaderKey(a []byte) (_ string, ok bool) {
    	if len(a) == 0 {
    		return "", false
    	}
    
    	// See if a looks like a header key. If not, return it unchanged.
    	noCanon := false
    	for _, c := range a {
    		if validHeaderFieldByte(c) {
    			continue
    		}
    		// Don't canonicalize.
    		if c == ' ' {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  3. pkg/registry/storagemigration/storagemigration/strategy.go

    	return svmvalidation.ValidateStorageVersionMigration(bundle)
    }
    
    func (strategy) WarningsOnCreate(ctx context.Context, obj runtime.Object) []string {
    	return nil
    }
    
    func (strategy) Canonicalize(obj runtime.Object) {}
    
    func (strategy) AllowCreateOnUpdate() bool {
    	return false
    }
    
    func (s strategy) ValidateUpdate(ctx context.Context, new, old runtime.Object) field.ErrorList {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/JavaCrossCompilationIntegrationTest.groovy

                    }
                }
            """
    
            expect:
            succeeds 'run'
            output.contains("java home: ${FileUtils.canonicalize(target.javaHome)}")
            output.contains("java version: ${version}")
    
            where:
            version << javaVersionsToCrossCompileAgainst()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 05:59:30 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/device_compilation_cluster_signature.cc

      }
      return h;
    }
    
    absl::StatusOr<Signature> Signature::Build(
        const NameAttrList& function,
        absl::Span<const XlaCompiler::Argument> args) {
      Signature signature;
      signature.name = Canonicalize(function.name(), AttrSlice(&function.attr()));
    
      for (const XlaCompiler::Argument& arg : args) {
        switch (arg.kind) {
          case XlaCompiler::Argument::kConstant:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/context.go

    // concurrent use it is convenient not to guarantee de-duplication.
    //
    // Nevertheless, in the future it could be helpful to allow users to leverage
    // contexts to canonicalize instances, and it would probably be possible to
    // achieve such a guarantee.
    
    // A Context is an opaque type checking context. It may be used to share
    // identical type instances across type-checked packages or calls to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 17:29:21 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/endtoend_test.go

    			}
    		}
    
    		if hexes != "" {
    			hexByLine[fmt.Sprintf("%s:%d", input, lineno)] = hexes
    		}
    
    		// Canonicalize spacing in printed form.
    		// First field is opcode, then tab, then arguments separated by spaces.
    		// Canonicalize spaces after commas first.
    		// Comma to separate argument gets a space; comma within does not.
    		var buf []byte
    		nest := 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 07 18:42:59 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  8. src/go/format/format.go

    	"io"
    )
    
    // Keep these in sync with cmd/gofmt/gofmt.go.
    const (
    	tabWidth    = 8
    	printerMode = printer.UseSpaces | printer.TabIndent | printerNormalizeNumbers
    
    	// printerNormalizeNumbers means to canonicalize number literal prefixes
    	// and exponents while printing. See https://golang.org/doc/go1.13#gofmt.
    	//
    	// This value is defined in go/printer specifically for go/format and cmd/gofmt.
    	printerNormalizeNumbers = 1 << 30
    )
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  9. pkg/registry/resource/resourceclaim/strategy.go

    	return validation.ValidateClaim(claim)
    }
    
    func (resourceclaimStrategy) WarningsOnCreate(ctx context.Context, obj runtime.Object) []string {
    	return nil
    }
    
    func (resourceclaimStrategy) Canonicalize(obj runtime.Object) {
    }
    
    func (resourceclaimStrategy) AllowCreateOnUpdate() bool {
    	return false
    }
    
    func (resourceclaimStrategy) PrepareForUpdate(ctx context.Context, obj, old runtime.Object) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 20:39:24 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  10. pkg/registry/resource/podschedulingcontext/strategy.go

    	return validation.ValidatePodSchedulingContexts(scheduling)
    }
    
    func (podSchedulingStrategy) WarningsOnCreate(ctx context.Context, obj runtime.Object) []string {
    	return nil
    }
    
    func (podSchedulingStrategy) Canonicalize(obj runtime.Object) {
    }
    
    func (podSchedulingStrategy) AllowCreateOnUpdate() bool {
    	return false
    }
    
    func (podSchedulingStrategy) PrepareForUpdate(ctx context.Context, obj, old runtime.Object) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 20:39:24 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top