Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for findtext (0.12 sec)

  1. docs/sts/client_grants/sts_element.py

                        ('Invalid XML provided for "{}" - erroring tag <{}>. '
                         'Message: {}').format(self.root_name, name, error.message)
                    )
            else:
                return self.element.findtext('sts:{}'.format(name), None, _STS_NS)
    
        def text(self):
            """Fetch the current node's text
    
            """
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  2. src/cmd/cover/cover.go

    	mdb     *encodemeta.CoverageMetaDataBuilder
    	fn      Func
    	pkg     *Package
    }
    
    // findText finds text in the original source, starting at pos.
    // It correctly skips over comments and assumes it need not
    // handle quoted strings.
    // It returns a byte offset within f.src.
    func (f *File) findText(pos token.Pos, text string) int {
    	b := []byte(text)
    	start := f.offset(pos)
    	i := start
    	s := f.content
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  3. src/regexp/find_test.go

    // only the FindAllStringSubmatchIndex result.
    type FindTest struct {
    	pat     string
    	text    string
    	matches [][]int
    }
    
    func (t FindTest) String() string {
    	return fmt.Sprintf("pat: %#q text: %#q", t.pat, t.text)
    }
    
    var findTests = []FindTest{
    	{``, ``, build(1, 0, 0)},
    	{`^abcdefg`, "abcdefg", build(1, 0, 7)},
    	{`a+`, "baaab", build(1, 1, 4)},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 11 15:28:50 UTC 2021
    - 16.3K bytes
    - Viewed (0)
  4. native-image-tests/src/test/kotlin/okhttp3/nativeImage/NativeImageTestsTest.kt

      @Test
      fun testFindsFixedTestsForImage() {
        val testSelector = testSelectors()
        val x = findTests(testSelector)
    
        x.find { it is ClassBasedTestDescriptor && it.testClass == SampleTest::class.java }
      }
    
      @Test
      fun testFindsModuleTests() {
        val testSelector = DiscoverySelectors.selectPackage("okhttp3")
        val x = findTests(listOf(testSelector))
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. src/regexp/all_test.go

    		t.Errorf("Match failure on %s: %t should be %t", test, m, len(test.matches) > 0)
    	}
    }
    
    func TestMatch(t *testing.T) {
    	for _, test := range findTests {
    		matchTest(t, &test)
    	}
    }
    
    func matchFunctionTest(t *testing.T, test *FindTest) {
    	m, err := MatchString(test.pat, test.text)
    	if err == nil {
    		return
    	}
    	if m != (len(test.matches) > 0) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:36:03 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  6. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/binaryinfo/DumpbinBinaryInfo.groovy

        }
    
        private findExe(String exe) {
            final candidate = new File(vcBin, exe)
            if (candidate.exists()) {
                return candidate
            }
            throw new RuntimeException("dumpbin.exe not found")
        }
    
        protected String getDumpbinHeaders() {
            def dumpbin = findExe("dumpbin.exe")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/authoring-builds/basics/writing_tasks.adoc

    [source,kotlin]
    ----
    abstract class CreateFileTask : DefaultTask() {
        @Input
        val fileText = "HELLO FROM MY TASK"
    
        @Input
        val fileName = "myfile.txt"
    
        @OutputFile
        val myFile: File = File(fileName)
    
        @TaskAction
        fun action() {
            myFile.createNewFile()
            myFile.writeText(fileText)
        }
    }
    
    tasks.register<CreateFileTask>("createFileTask") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 18:33:11 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/authoring-builds/basics/writing_plugins.adoc

        @get:Input
        abstract val fileText: Property<String>                                         // <2>
    
        @Input
        val fileName = "myfile.txt"
    
        @OutputFile
        val myFile: File = File(fileName)
    
        @TaskAction
        fun action() {
            myFile.createNewFile()
            myFile.writeText(fileText.get())
        }
    }
    
    // Define a plugin
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 00:36:58 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/api/internal/collections/FilteredElementSource.java

                this.iterator = collection.iteratorNoFlush();
                this.filter = filter;
                this.estimatedSize = collection.estimatedSize();
                this.next = findNext();
            }
    
            @Nullable
            private S findNext() {
                while (iterator.hasNext()) {
                    T potentialNext = iterator.next();
                    S filtered = filter.filter(potentialNext);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 02 15:16:51 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  10. testing/internal-testing/src/main/groovy/org/gradle/integtests/fixtures/JUnitTestClassExecutionResult.groovy

        }
    
        TestClassExecutionResult assertTestsExecuted(String... testNames) {
            Map<String, Node> testMethods = findTests().findAll { name, element ->
                element."skipped".size() == 0 // Exclude skipped test.
            }
            assertThat(testMethods.keySet(), CoreMatchers.equalTo(testNames as Set))
            this
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top