Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 40 for noArgs (0.16 sec)

  1. subprojects/core/src/main/java/org/gradle/api/internal/tasks/DefaultTaskContainer.java

            assertMutable("create(String)");
            return doCreate(name, DefaultTask.class, NO_ARGS, Actions.doNothing());
        }
    
        @Override
        public Task create(String name, Action<? super Task> configureAction) throws InvalidUserDataException {
            assertMutable("create(String, Action)");
            return doCreate(name, DefaultTask.class, NO_ARGS, configureAction);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 09:54:40 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  2. src/go/types/builtins.go

    		nargs = len(argList)
    	}
    
    	// check argument count
    	{
    		msg := ""
    		if nargs < bin.nargs {
    			msg = "not enough"
    		} else if !bin.variadic && nargs > bin.nargs {
    			msg = "too many"
    		}
    		if msg != "" {
    			check.errorf(argErrPos(call), WrongArgCount, invalidOp+"%s arguments for %v (expected %d, found %d)", msg, call, bin.nargs, nargs)
    			return
    		}
    	}
    
    	switch id {
    	case _Append:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  3. src/database/sql/convert.go

    		case cci != nil:
    			checker = cc.CheckNamedValue
    		}
    
    	nextCheck:
    		err = checker(nv)
    		switch err {
    		case nil:
    			n++
    			continue
    		case driver.ErrRemoveArgument:
    			nvargs = nvargs[:len(nvargs)-1]
    			continue
    		case driver.ErrSkip:
    			if nextCC {
    				nextCC = false
    				checker = cc.CheckNamedValue
    			} else {
    				checker = defaultCheckNamedValue
    			}
    			goto nextCheck
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/builtins.go

    		nargs = len(argList)
    	}
    
    	// check argument count
    	{
    		msg := ""
    		if nargs < bin.nargs {
    			msg = "not enough"
    		} else if !bin.variadic && nargs > bin.nargs {
    			msg = "too many"
    		}
    		if msg != "" {
    			check.errorf(argErrPos(call), WrongArgCount, invalidOp+"%s arguments for %v (expected %d, found %d)", msg, call, bin.nargs, nargs)
    			return
    		}
    	}
    
    	switch id {
    	case _Append:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/call.go

    	// --------------+------------------+----------------+
    	// standard func | nargs == npars   | invalid        |
    	// --------------+------------------+----------------+
    	// variadic func | nargs >= npars-1 | nargs == npars |
    	// --------------+------------------+----------------+
    
    	nargs := len(args)
    	npars := sig.params.Len()
    	ddd := hasDots(call)
    
    	// set up parameters
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  6. src/go/types/call.go

    	// --------------+------------------+----------------+
    	// standard func | nargs == npars   | invalid        |
    	// --------------+------------------+----------------+
    	// variadic func | nargs >= npars-1 | nargs == npars |
    	// --------------+------------------+----------------+
    
    	nargs := len(args)
    	npars := sig.params.Len()
    	ddd := hasDots(call)
    
    	// set up parameters
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/check.go

    		for _, v := range b.Values {
    			// Check to make sure argument count makes sense (argLen of -1 indicates
    			// variable length args)
    			nArgs := opcodeTable[v.Op].argLen
    			if nArgs != -1 && int32(len(v.Args)) != nArgs {
    				f.Fatalf("value %s has %d args, expected %d", v.LongString(),
    					len(v.Args), nArgs)
    			}
    
    			// Check to make sure aux values make sense.
    			canHaveAux := false
    			canHaveAuxInt := false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 16:41:23 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/writebarrier.go

    	args = append(args, mem)
    
    	// issue call
    	argTypes := make([]*types.Type, nargs, 3) // at most 3 args; allows stack allocation
    	for i := 0; i < nargs; i++ {
    		argTypes[i] = typ
    	}
    	call := b.NewValue0A(pos, OpStaticCall, types.TypeResultMem, StaticAuxCall(fn, b.Func.ABIDefault.ABIAnalyzeTypes(argTypes, nil)))
    	call.AddArgs(args...)
    	call.AuxInt = int64(nargs) * typ.Size()
    	return b.NewValue1I(pos, OpSelectN, types.TypeMem, 0, call)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:09:14 UTC 2023
    - 23.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

       * Having a public suffix is equivalent to having a registry suffix, because all registry suffixes
       * are public suffixes, and all public suffixes have registry suffixes.
       */
      private static final ImmutableSet<String> NO_RS = NO_PS;
    
      private static final ImmutableSet<String> NON_PS =
          ImmutableSet.of(
              "foo.bar.com",
              "foo.ca",
              "foo.bar.ca",
              "foo.blogspot.com",
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Mar 05 13:16:00 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  10. build-logic/performance-testing/src/main/groovy/gradlebuild.performance-templates.gradle

    }
    
    private void setMaxHeap(File projectDirectory, String maxHeap) {
        new File(projectDirectory, "gradle.properties") << "\norg.gradle.jvmargs=-Xmx${maxHeap}\n"
    
    }
    
    private void setParallel(File projectDirectory, boolean parallel) {
        new File(projectDirectory, "gradle.properties") << "\norg.gradle.parallel=${parallel}\n"
    
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 15:43:39 UTC 2024
    - 19.5K bytes
    - Viewed (0)
Back to top