Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 80 for ipString (0.17 sec)

  1. src/go/types/builtins.go

    		// This form appends the bytes of the string.
    		if nargs == 2 && hasDots(call) {
    			if ok, _ := x.assignableTo(check, NewSlice(universeByte), nil); ok {
    				y := args[1]
    				if t := coreString(y.typ); t != nil && isString(t) {
    					if check.recordTypes() {
    						sig := makeSig(S, S, y.typ)
    						sig.variadic = true
    						check.recordBuiltinType(call.Fun, sig)
    					}
    					x.mode = value
    					x.typ = S
    					break
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ir/const.go

    	case typ.IsFloat():
    		return NewBasicLit(pos, typ, floatZero)
    	case typ.IsComplex():
    		return NewBasicLit(pos, typ, complexZero)
    	case typ.IsBoolean():
    		return NewBasicLit(pos, typ, constant.MakeBool(false))
    	case typ.IsString():
    		return NewBasicLit(pos, typ, constant.MakeString(""))
    	case typ.IsArray() || typ.IsStruct():
    		// TODO(mdempsky): Return a typechecked expression instead.
    		return NewCompLitExpr(pos, OCOMPLIT, typ, nil)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 18:53:26 UTC 2023
    - 4K bytes
    - Viewed (0)
  3. src/go/types/gcsizes.go

    		// StdSizes.Alignof won't be called for them.
    		assert(!isTypeParam(T))
    		return s.WordSize
    	case *Basic:
    		// Strings are like slices and interfaces.
    		if t.Info()&IsString != 0 {
    			return s.WordSize
    		}
    	case *TypeParam, *Union:
    		panic("unreachable")
    	}
    	a := s.Sizeof(T) // may be 0 or negative
    	// spec: "For a variable x of any type: unsafe.Alignof(x) is at least 1."
    	if a < 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/walk/walk.go

    	var init ir.Nodes
    	c := cheapExpr(n, &init)
    	if c != n || len(init) != 0 {
    		base.Fatalf("backingArrayPtrLen not cheap: %v", n)
    	}
    	ptr = ir.NewUnaryExpr(base.Pos, ir.OSPTR, n)
    	if n.Type().IsString() {
    		ptr.SetType(types.Types[types.TUINT8].PtrTo())
    	} else {
    		ptr.SetType(n.Type().Elem().PtrTo())
    	}
    	ptr.SetTypecheck(1)
    	length = ir.NewUnaryExpr(base.Pos, ir.OLEN, n)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 20:56:00 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/typecheck/subr.go

    		return ir.OCONV, ""
    	}
    
    	// 6. src is an integer or has type []byte or []rune
    	// and dst is a string type.
    	if src.IsInteger() && dst.IsString() {
    		return ir.ORUNESTR, ""
    	}
    
    	if src.IsSlice() && dst.IsString() {
    		if src.Elem().Kind() == types.ByteType.Kind() {
    			return ir.OBYTES2STR, ""
    		}
    		if src.Elem().Kind() == types.RuneType.Kind() {
    			return ir.ORUNES2STR, ""
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 19:45:58 UTC 2023
    - 20.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/flatbuffer_operator.cc

      for (int i = 0; i < flatbuffer_vector.size(); ++i) {
        auto value = flatbuffer_vector[i];
    
        if (value.IsBool()) {
          mlir_vector.push_back(BuildVhloBooleanV1Attr(value.AsBool(), builder));
        } else if (value.IsString()) {
          mlir_vector.push_back(
              BuildVhloStringV1Attr(value.AsString().str(), builder));
        } else if (value.IsInt()) {
          mlir_vector.push_back(BuildVhloIntV1Attr(value.AsInt64(), builder));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 38K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/gcsizes.go

    		// StdSizes.Alignof won't be called for them.
    		assert(!isTypeParam(T))
    		return s.WordSize
    	case *Basic:
    		// Strings are like slices and interfaces.
    		if t.Info()&IsString != 0 {
    			return s.WordSize
    		}
    	case *TypeParam, *Union:
    		panic("unreachable")
    	}
    	a := s.Sizeof(T) // may be 0 or negative
    	// spec: "For a variable x of any type: unsafe.Alignof(x) is at least 1."
    	if a < 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/decompose.go

    					continue
    				}
    				f.NamedValues[*rName] = append(f.NamedValues[*rName], v.Args[0])
    				f.NamedValues[*iName] = append(f.NamedValues[*iName], v.Args[1])
    				toDelete = append(toDelete, namedVal{i, j})
    			}
    		case t.IsString():
    			ptrName, lenName := f.SplitString(name)
    			newNames = maybeAppend2(f, newNames, ptrName, lenName)
    			for j, v := range f.NamedValues[*name] {
    				if v.Op != OpStringMake {
    					continue
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 23 21:22:15 UTC 2022
    - 13.4K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/builtins.go

    		// This form appends the bytes of the string.
    		if nargs == 2 && hasDots(call) {
    			if ok, _ := x.assignableTo(check, NewSlice(universeByte), nil); ok {
    				y := args[1]
    				if t := coreString(y.typ); t != nil && isString(t) {
    					if check.recordTypes() {
    						sig := makeSig(S, S, y.typ)
    						sig.variadic = true
    						check.recordBuiltinType(call.Fun, sig)
    					}
    					x.mode = value
    					x.typ = S
    					break
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/InProcessGradleExecuter.java

        }
    
        private File getClasspathManifestJarFor(Collection<File> classpath) {
            String cpString = classpath.stream()
                .map(File::toURI)
                .map(Object::toString)
                .collect(Collectors.joining(" "));
            File cpJar = new File(getDefaultTmpDir(), "daemon-classpath-manifest-" + hashString(cpString).toCompactString() + ".jar");
            if (!cpJar.isFile()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 37.1K bytes
    - Viewed (0)
Back to top