Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 297 for rfind (0.11 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/cc/quantization_unit_loc.cc

        StringRef caller_name = mlir::cast<NameLoc>(caller).getName().strref();
        const size_t start_index = kQuantizationUnitPrefix.size();
        const size_t end_index = caller_name.rfind(kQuantizationUnitSuffix);
        std::string serialized_proto =
            caller_name.substr(start_index, end_index - start_index).str();
        QuantizationUnitLoc::QuantizationUnit quant_unit;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r44/ToolingApiEclipseModelSourceFolderClasspathAttributesCrossVersionSpec.groovy

            def mainDirAttributes = project.sourceDirectories.find { it.path == 'src/main/java' }.classpathAttributes
            def testDirAttributes = project.sourceDirectories.find { it.path == 'src/test/java' }.classpathAttributes
    
            then:
            mainDirAttributes.find { it.name == 'gradle_scope' && it.value == 'main' }
            mainDirAttributes.find { it.name == 'gradle_used_by_scope' && it.value == 'main,test' }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r56/ToolingApiEclipseModelTestSourcesCrossVersionSpec.groovy

            EclipseProjectDependency depC = projectA.projectDependencies.find { it.path == 'c' }
            EclipseProjectDependency depD = projectA.projectDependencies.find { it.path == 'd' }
    
            then:
            !depB.classpathAttributes.find { it.name == 'test' && it.value == 'true' }
            !depB.classpathAttributes.find { it.name == 'without_test_code' && it.value == 'false' }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r211/ToolingApiIdeaModelCrossVersionSpec.groovy

            ideaProject.modules.find { it.name == 'root' }.javaLanguageSettings == null
            ideaProject.modules.find { it.name == 'child1' }.javaLanguageSettings == null
            ideaProject.modules.find { it.name == 'child2' }.javaLanguageSettings.languageLevel == JavaVersion.VERSION_1_2
            ideaProject.modules.find { it.name == 'child3' }.javaLanguageSettings.languageLevel == null // inherited
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r34/ToolingApiIdeaModelCrossVersionSpec.groovy

            then:
            ideaProject.modules.find { it.name == 'root' }.jdkName == 'MyJDK1'
            ideaProject.modules.find { it.name == 'child1' }.jdkName == 'MyJDK2'
            ideaProject.modules.find { it.name == 'child2' }.jdkName == 'MyJDK3'
            ideaProject.modules.find { it.name == 'child3' }.jdkName == null
        }
    
        @TargetGradleVersion(">=3.0 <3.4")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/m5/ToolingApiIdeaModelCrossVersionSpec.groovy

            then:
            def impl = project.modules.find { it.name == 'impl'}
            def root = project.modules.find { it.name == 'root'}
    
            root.gradleProject.tasks.find { it.name == 'rootTask' && it.path == ':rootTask' && it.project == root.gradleProject }
            !root.gradleProject.tasks.find { it.name == 'implTask' }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r30/ToolingApiEclipseModelClasspathContainerCrossVersionSpec.groovy

            then:
            project.classpathContainers.size() == 3
            project.classpathContainers.find { it.path.startsWith 'org.eclipse.jdt.launching.JRE_CONTAINER' }
            project.classpathContainers.find { it.path == 'containerPath1' }
            project.classpathContainers.find { it.path == 'containerPath2' }
        }
    
        def "Classpath container defined in beforeMerged"() {
            buildFile <<
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r30/ToolingApiEclipseModelDependencyAccessRuleCrossVersionSpec.groovy

            when:
            EclipseProject project = loadToolingModel(EclipseProject)
            EclipseProjectDependency projectDependency = project.projectDependencies.find { it.path.contains 'sub' }
            EclipseExternalDependency externalDependency = project.classpath.find { it.file.path.contains 'example-lib' }
    
            then:
            projectDependency.accessRules.isEmpty()
            externalDependency.accessRules.isEmpty()
    
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r30/ToolingApiEclipseModelSourceFolderClasspathAttributesCrossVersionSpec.groovy

                   classpath {
                       file {
                           whenMerged { classpath ->
                               classpath.entries.find { it.kind == 'src' && it.path == 'src/main/java' }.entryAttributes.key1 = 'value1'
                               classpath.entries.find { it.kind == 'src' && it.path == 'src/main/java' }.entryAttributes.key2 = 'value2'
                           }
                       }
                   }
               }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. tests/associations_has_one_test.go

    	if err := DB.Create(&user).Error; err != nil {
    		t.Fatalf("errors happened when create: %v", err)
    	}
    
    	CheckUser(t, user, user)
    
    	// Find
    	var user2 User
    	DB.Find(&user2, "id = ?", user.ID)
    	DB.Model(&user2).Association("Account").Find(&user2.Account)
    	CheckUser(t, user2, user)
    
    	// Count
    	AssertAssociationCount(t, user, "Account", 1, "")
    
    	// Append
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top