Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for badtype (0.11 sec)

  1. src/cmd/compile/internal/walk/builtin.go

    			case " ":
    				on = typecheck.LookupRuntime("printsp")
    			case "\n":
    				on = typecheck.LookupRuntime("printnl")
    			default:
    				on = typecheck.LookupRuntime("printstring")
    			}
    		default:
    			badtype(ir.OPRINT, n.Type(), nil)
    			continue
    		}
    
    		r := ir.NewCallExpr(base.Pos, ir.OCALL, on, nil)
    		if params := on.Type().Params(); len(params) > 0 {
    			t := params[0].Type
    			n = typecheck.Conv(n, t)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 22:35:22 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/jos/JavaObjectSerializationCodec.kt

                val beanType = value.javaClass
                writeClass(beanType)
                val record = recordWritingOf(beanType, value)
                record.run { playback() }
            }
        }
    
        private
        fun recordWritingOf(beanType: Class<Externalizable>, value: Externalizable): RecordingObjectOutputStream =
            RecordingObjectOutputStream(beanType, value).also { recordingObjectOutputStream ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheUnsupportedTypesIntegrationTest.groovy

        }
    
        def "reports when task field is declared with type #baseType"() {
            buildFile << """
                plugins { id "java" }
    
                class SomeBean {
                    private ${baseType.name} badField
                }
    
                class SomeTask extends DefaultTask {
                    private final ${baseType.name} badField
                    private final bean = new SomeBean()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 28.3K bytes
    - Viewed (0)
  4. src/go/internal/gcimporter/iimport.go

    		targs := make([]types.Type, len)
    		for i := range targs {
    			targs[i] = r.typ()
    		}
    		baseType := r.typ()
    		// The imported instantiated type doesn't include any methods, so
    		// we must always use the methods of the base (orig) type.
    		// TODO provide a non-nil *Context
    		t, _ := types.Instantiate(nil, baseType, targs, false)
    		return t
    
    	case unionType:
    		if r.p.exportVersion < iexportVersionGenerics {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  5. operator/cmd/mesh/manifest_shared_test.go

    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/log"
    )
    
    // cmdType is one of the commands used to generate and optionally apply a manifest.
    type cmdType string
    
    const (
    	// istioctl manifest generate
    	cmdGenerate cmdType = "istioctl manifest generate"
    	// istioctl install
    	cmdApply cmdType = "istioctl install"
    	// in-cluster controller
    	cmdController cmdType = "operator controller"
    )
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 20 22:39:28 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  6. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/DefaultSerializerRegistry.java

            @Override
            public boolean matches(Class<?> baseType, Class<?> candidate) {
                return baseType.isAssignableFrom(candidate);
            }
        }
    
        private static class StrictSerializerMatcher implements SerializerClassMatcherStrategy {
            @Override
            public boolean matches(Class<?> baseType, Class<?> candidate) {
                return baseType.equals(candidate);
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  7. platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishArtifactCustomizationIntegTest.groovy

            ivy.expectArtifact('ivyPublish', 'txt').hasType("txt").hasConf(null)
            ivy.expectArtifact('ivyPublish', 'html').hasType("html").hasConf(null)
            ivy.expectArtifact('ivyPublish', 'jar').hasType("jar").hasConf(null)
            ivy.expectArtifact('ivyPublish', 'reg').hasType("reg").hasConf(null)
            ivy.expectArtifact('ivyPublish', 'foo').hasType("foo").hasConf(null)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 18.3K bytes
    - Viewed (0)
  8. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/AbstractPluginValidationIntegrationSpec.groovy

                    @TaskAction void execute() {}
                }
            """
    
            expect:
            assertValidationFailsWith([
                error(missingAnnotationConfig { type('MyTask').property('badTime').missingInputOrOutput() }, 'validation_problems', 'missing_annotation'),
                error(missingAnnotationConfig { type('MyTask').property('oldThing').missingInputOrOutput() }, 'validation_problems', 'missing_annotation'),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 40.7K bytes
    - Viewed (0)
  9. cmd/admin-handlers_test.go

    	return objLayer, erasureDirs, nil
    }
    
    // cmdType - Represents different service subcomands like status, stop
    // and restart.
    type cmdType int
    
    const (
    	restartCmd cmdType = iota
    	stopCmd
    )
    
    // toServiceSignal - Helper function that translates a given cmdType
    // value to its corresponding serviceSignal value.
    func (c cmdType) toServiceSignal() serviceSignal {
    	switch c {
    	case restartCmd:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/gradients/math_grad.cc

      auto dtype = input->DataType();
      if (DataTypeIsFloating(BaseType(dtype)) ||
          DataTypeIsInteger(BaseType(dtype))) {
        return tensorflow::ops::Identity(ctx, input, output, name);
      } else if (!DataTypeIsComplex(BaseType(dtype)) &&
                 BaseType(dtype) != DT_VARIANT) {
        return errors::InvalidArgument(
            "Expected numeric or variant tensor, got dtype ", dtype);
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 28 13:53:47 UTC 2024
    - 15.2K bytes
    - Viewed (0)
Back to top