- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 165 for setTyped (0.13 sec)
-
pkg/proxy/ipvs/ipset/ipset_test.go
func Test_validIPSetType(t *testing.T) { testCases := []struct { setType Type expectErr bool }{ { // case[0] setType: Type("foo"), expectErr: true, }, { // case[1] setType: HashIPPortNet, expectErr: false, }, { // case[2] setType: HashIPPort, expectErr: false, }, { // case[3] setType: HashIPPortIP, expectErr: false, }, { // case[4]
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 19 01:20:51 UTC 2023 - 41.5K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/func.go
n.SetType(nil) return n } if !n.Y.Type().IsInteger() { n.SetType(nil) return n } n.SetType(n.X.Type()) return n } // tcUnsafeSlice typechecks an OUNSAFESLICE node. func tcUnsafeSlice(n *ir.BinaryExpr) *ir.BinaryExpr { n.X = Expr(n.X) n.Y = Expr(n.Y) if n.X.Type() == nil || n.Y.Type() == nil { n.SetType(nil) return n }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 06 15:23:18 UTC 2024 - 21.1K bytes - Viewed (0) -
pkg/proxy/ipvs/ipset_test.go
testCases := []struct { name string set *utilipset.IPSet setType utilipset.Type ipv6 bool activeEntries []string currentEntries []string expectedEntries []string }{ { name: "normal ipset sync", set: &utilipset.IPSet{ Name: "foo", }, setType: utilipset.HashIPPort, ipv6: false,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 19 01:20:51 UTC 2023 - 7.5K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/expr.go
if t == nil || r.Type() == nil { n.SetType(nil) return n } switch t.Kind() { default: base.Errorf("invalid operation: %v (type %v does not support indexing)", n, t) n.SetType(nil) return n case types.TSTRING, types.TARRAY, types.TSLICE: n.Index = indexlit(n.Index) if t.IsString() { n.SetType(types.ByteType) } else { n.SetType(t.Elem()) } why := "string"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:29:45 UTC 2024 - 23.1K bytes - Viewed (0) -
pkg/proxy/ipvs/ipset/ipset.go
args := []string{"create", set.Name, string(set.SetType)} if set.SetType == HashIPPortIP || set.SetType == HashIPPort || set.SetType == HashIPPortNet || set.SetType == HashIP { args = append(args, "family", set.HashFamily, "hashsize", strconv.Itoa(set.HashSize), "maxelem", strconv.Itoa(set.MaxElem), ) } if set.SetType == BitmapPort { args = append(args, "range", set.PortRange) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 19 01:20:51 UTC 2023 - 17.1K bytes - Viewed (0) -
platforms/core-configuration/base-services-groovy/src/main/java/org/gradle/groovy/scripts/internal/ExpressionReplacingVisitorSupport.java
replaceExpr(expr.getExpression())); result.setType(expr.getType()); result.setSourcePosition(expr); replaceVisitedExpressionWith(result); } @Override public void visitNotExpression(NotExpression expr) { NotExpression result = new NotExpression( replaceExpr(expr.getExpression())); result.setType(expr.getType()); result.setSourcePosition(expr);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 10:00:26 UTC 2023 - 16.9K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/const.go
break } n = ir.NewConstExpr(v, n) n.SetType(t) return n case ir.OPLUS, ir.ONEG, ir.OBITNOT, ir.ONOT, ir.OREAL, ir.OIMAG: ot := operandType(n.Op(), t) if ot == nil { n = DefaultLit(n, nil) break } n := n.(*ir.UnaryExpr) n.X = convlit(n.X, ot) if n.X.Type() == nil { n.SetType(nil) return n } n.SetType(t) return n
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 05 15:20:28 UTC 2023 - 10.5K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExceptionTest.java
pluginDescriptor.setArtifactId("artifactId"); mojoDescriptor.setPluginDescriptor(pluginDescriptor); Parameter parameter = new Parameter(); parameter.setType("java.lang.String[]"); parameter.setName("toAddresses"); parameter.setRequired(true); PluginParameterException exception =
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 08:39:32 UTC 2023 - 6.7K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/toolchain/DefaultToolchainTest.java
void testGetType() { ToolchainModel model = new ToolchainModel(); DefaultToolchain toolchain = newDefaultToolchain(model, "TYPE"); assertEquals("TYPE", toolchain.getType()); model.setType("MODEL_TYPE"); toolchain = newDefaultToolchain(model); assertEquals("MODEL_TYPE", toolchain.getType()); } @Test void testGetLogger() { ToolchainModel model = new ToolchainModel();
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Sep 22 09:07:17 UTC 2023 - 4.9K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/ModelSetNodeInitializerExtractionStrategy.java
public ModelView<ModelSet<T>> toView(MutableModelNode modelNode, ModelRuleDescriptor ruleDescriptor, boolean mutable) { ModelType<ModelSet<T>> setType = ModelTypes.modelSet(elementType); DefaultModelViewState state = new DefaultModelViewState(modelNode.getPath(), setType, ruleDescriptor, mutable, !mutable);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 4.9K bytes - Viewed (0)