- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 34 for parseClass (0.17 sec)
-
subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/DefaultScriptCompilationHandler.java
GroovyCodeSource codeSource = new GroovyCodeSource(scriptText == null ? "" : scriptText, scriptName, "/groovy/script"); try { try { groovyClassLoader.parseClass(codeSource, false); } catch (MultipleCompilationErrorsException e) { wrapCompilationFailure(source, e); } catch (CompilationFailedException e) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 20.6K bytes - Viewed (0) -
src/regexp/syntax/parse.go
if sign > 0 { r = appendClass(r, tmp) } else { r = appendNegatedClass(r, tmp) } } return r, t, nil } // parseClass parses a character class at the beginning of s // and pushes it onto the parse stack. func (p *parser) parseClass(s string) (rest string, err error) { t := s[1:] // chop [ re := p.newRegexp(OpCharClass) re.Flags = p.flags re.Rune = re.Rune0[:0]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 13:59:01 UTC 2024 - 52.1K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/binding/DefaultStructBindingsStoreTest.groovy
} def "misaligned types #firstType.simpleName and #secondType.simpleName"() { def interfaceWithPrimitiveProperty = new GroovyClassLoader(getClass().classLoader).parseClass """ import org.gradle.model.Managed @Managed interface PrimitiveProperty { $firstType.name getPrimitiveProperty()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 26.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ModelRuleExtractorTest.groovy
!fromFirstExtraction.is(fromSecondExtraction) } def "cache does not hold strong references"() { given: def cl = new GroovyClassLoader(getClass().classLoader) def source = cl.parseClass(''' import org.gradle.model.* class Rules extends RuleSource { @Mutate void mutate(String value) { } } ''')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 13:45:02 UTC 2024 - 30.4K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/NestedInputIntegrationTest.groovy
@TaskAction action() { bean.output.text = bean.input.text } } def NestedBean = new GroovyClassLoader(getClass().getClassLoader()).parseClass ''' import org.gradle.api.tasks.* class NestedBean { @InputFile @PathSensitive(PathSensitivity.NONE) File input @OutputFile File output
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 42.6K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/NodeBackedModelMapSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 38.3K bytes - Viewed (0) -
src/cmd/compile/internal/types2/check_test.go
func absDiff(x, y uint) uint { if x < y { return y - x } return x - y } // parseFlags parses flags from the first line of the given source if the line // starts with "//" (line comment) followed by "-" (possibly with spaces // between). Otherwise the line is ignored. func parseFlags(src []byte, flags *flag.FlagSet) error { // we must have a line comment that starts with a "-" const prefix = "//"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 19:45:33 UTC 2024 - 13.8K bytes - Viewed (0) -
src/go/types/check_test.go
func absDiff(x, y int) int { if x < y { return y - x } return x - y } // parseFlags parses flags from the first line of the given source if the line // starts with "//" (line comment) followed by "-" (possibly with spaces // between). Otherwise the line is ignored. func parseFlags(src []byte, flags *flag.FlagSet) error { // we must have a line comment that starts with a "-" const prefix = "//"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 19:45:33 UTC 2024 - 14.1K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/driver/cli.go
HTTPHostport string HTTPDisableBrowser bool Comment string } // parseFlags parses the command lines through the specified flags package // and returns the source of the profile and optionally the command // for the kind of report to generate (nil for interactive use). func parseFlags(o *plugin.Options) (*source, []string, error) { flag := o.Flagset // Comparisons.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 15 16:39:48 UTC 2023 - 12.1K bytes - Viewed (0) -
src/internal/platform/supported.go
// linux/ppc64 not supported because it does // not support external linking mode yet. return true default: // Other targets do not support -shared, // per ParseFlags in // cmd/compile/internal/base/flag.go. // For c-archive the Go tool passes -shared, // so that the result is suitable for inclusion // in a PIE or shared library. return false }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 04 07:50:22 UTC 2024 - 7.6K bytes - Viewed (0)