Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,133 for rfind (0.09 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/TestLauncherSpec.groovy

                def task = testEvents.find {
                    it.jvmTestKind == JvmTestKind.SUITE &&
                        (it.parent instanceof TaskOperationDescriptor) &&
                        it.parent.taskPath == path
                }
                if (task == null) {
                    throw new AssertionError("Expected to find a test task $path but none was found")
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 08:42:44 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  2. testing/internal-testing/src/main/groovy/org/gradle/integtests/fixtures/HtmlTestExecutionResult.groovy

                String failureMethodName = EXECUTION_FAILURE
                def testCase = testsFailures.find { it.name == failureMethodName }
                assert testCase
    
                String causeLinePrefix = "Caused by: "
                def cause = testCase.messages.first().readLines().find { it.startsWith causeLinePrefix }?.substring(causeLinePrefix.length())
    
                assertThat(cause, causeMatcher)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/saved_model/core/tf_saved_model_api.cc

      auto signatures_iter =
          revived_objects_.signatures_map.find(signature_def_key);
      if (signatures_iter == revived_objects_.signatures_map.end()) {
        return errors::NotFound("No signature with key ", signature_def_key,
                                " was found");
      }
      int node = signatures_iter->second;
    
      auto function_iter = revived_objects_.signature_def_functions.find(node);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 09:34:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/stack_ops_decomposition.cc

        auto new_operands = llvm::to_vector<8>(call.getOperands());
        for (int64_t i = 0; i < call.getNumOperands(); ++i) {
          auto arg_it = info.stack_var_arg_to_size_arg.find(i);
          if (arg_it == info.stack_var_arg_to_size_arg.end()) continue;
          auto it = data_var_to_size_var.find(call.getOperand(i));
          if (it == data_var_to_size_var.end()) {
            call.emitOpError("unknown stack");
            return failure();
          }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/PublishedRichVersionConstraintsIntegrationTest.groovy

                }
                'org:bar:1.0' {
                    expectGetMetadata()
                }
            }
            fails ':checkDeps'
    
            then:
            failure.assertHasCause("""Cannot find a version of 'org:foo' that satisfies the version constraints:
       Dependency path ':test:unspecified' --> 'org:foo:17'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 13K bytes
    - Viewed (0)
  6. src/index/suffixarray/suffixarray_test.go

    		},
    	},
    
    	{
    		"godoc simulation",
    		"package main\n\nimport(\n    \"rand\"\n    ",
    		[]string{},
    	},
    }
    
    // find all occurrences of s in source; report at most n occurrences
    func find(src, s string, n int) []int {
    	var res []int
    	if s != "" && n != 0 {
    		// find at most n occurrences of s in src
    		for i := -1; n < 0 || len(res) < n; {
    			j := strings.Index(src[i+1:], s)
    			if j < 0 {
    				break
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/NestedConfigureDslIntegrationTest.groovy

            fails "resolve"
            errorOutput.contains("Could not find method myDist() for arguments")
        }
    
        def "reports missing method from inside configure closure"() {
            buildFile << """
    configurations {
        broken {
            noExist(12)
        }
    }
    """
    
            expect:
            fails()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/analysis/side_effect_analysis.cc

        auto to_iter = to.find(group);
        if (to_iter == to.end()) {
          ++groups_from_only;
        } else {
          auto to_branch = to_iter->second;
          if (to_branch == branch) {
            ++groups_same_branch;
          } else {
            ++groups_different_branch;
          }
        }
      }
      for (const auto& [group, _] : to) {
        auto from_iter = from.find(group);
        if (from_iter == from.end()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ProgressEvents.groovy

                        ) {
                            // Ignore this for now
                        } else {
                            def duplicateName = operations.find({
                                !it.failed && // ignore previous operations with the same display name that failed, eg for retry of downloads
                                    it.descriptor.displayName == descriptor.displayName &&
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 23 13:50:05 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/JavaPropertyReflectionUtilTest.groovy

            when:
            writeableProperty(JavaTestSubject, "myBooleanProperty", null)
    
            then:
            def e = thrown(NoSuchPropertyException)
            e.message == "Could not find setter method for property 'myBooleanProperty' accepting null value on class JavaTestSubject."
        }
    
        def "read boolean property"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 11.9K bytes
    - Viewed (0)
Back to top