Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for sourceDir (0.4 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r35/ToolingApiEclipseModelDependencyAccessRuleCrossVersionSpec.groovy

            sourceDir.accessRules[0].kind == 0
            sourceDir.accessRules[0].pattern == 'id-accessible'
            sourceDir.accessRules[1].kind == 1
            sourceDir.accessRules[1].pattern == 'id-nonaccessible'
            sourceDir.accessRules[2].kind == 2
            sourceDir.accessRules[2].pattern == 'id-discouraged'
            sourceDir.accessRules[3].kind == 0
            sourceDir.accessRules[3].pattern == 'literal-accessible'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r30/ToolingApiEclipseModelSourceDirectoryAccessRuleCrossVersionSpec.groovy

                       file {
                           whenMerged { classpath ->
                               def sourceDir = classpath.entries.find { it.kind == 'src' && it.path == 'src/main/java' }
                               sourceDir.accessRules.add(new AccessRule('0', 'accessibleFilesPattern'))
                               sourceDir.accessRules.add(new AccessRule('1', 'nonAccessibleFilesPattern'))
                           }
                       }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. testing/smoke-test/src/smokeTest/groovy/org/gradle/play/integtest/fixtures/external/PlayApp.groovy

            File file = new File(resource.toURI())
            return new SourceFile(path, name, file.text);
        }
    
        void writeSources(TestFile sourceDir) {
            gradleBuild.writeToDir(sourceDir)
            for (SourceFile srcFile : allFiles) {
                srcFile.writeToDir(sourceDir)
            }
        }
    
        List<SourceFile> sourceFiles(String baseDir, String rootDir = getName()) {
            List sourceFiles = new ArrayList()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. utils/utils.go

    	"unicode"
    )
    
    var gormSourceDir string
    
    func init() {
    	_, file, _, _ := runtime.Caller(0)
    	// compatible solution to get gorm source directory with various operating systems
    	gormSourceDir = sourceDir(file)
    }
    
    func sourceDir(file string) string {
    	dir := filepath.Dir(file)
    	dir = filepath.Dir(dir)
    
    	s := filepath.Dir(dir)
    	if filepath.Base(s) != "gorm.io" {
    		s = dir
    	}
    	return filepath.ToSlash(s) + "/"
    }
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Apr 22 06:43:02 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/internal/scripts/BuildScriptCompilationAndInstrumentation.java

                    return loadAlreadyProducedOutput(workspace);
                }
            };
        }
    
        private void instrument(File sourceDir, File destination) {
            ClasspathElementTransform transform = transformFactory.createTransformer(sourceDir, new InstrumentingClassTransform(), InstrumentationTypeRegistry.EMPTY);
            transform.transform(destination);
        }
    
        @Nullable
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 10:23:24 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/python/flatbuffer_to_mlir.cc

          return "";
        }
      }
    
      mlir::MLIRContext context;
      context.printOpOnDiagnostic(true);
      llvm::SourceMgr sourceMgr;
      sourceMgr.AddNewSourceBuffer(std::move(input), llvm::SMLoc());
    
      mlir::OwningOpRef<mlir::ModuleOp> module =
          FlatBufferFileToMlirTranslation(&sourceMgr, &context);
      if (!module || failed(verify(*module))) return "";
    
      std::string mlir_output;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun May 12 12:39:37 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/ops/gen/common/path_config.cc

          tensorflow::str_util::Split(source_dir, "/");
      auto source_tfroot_pos = std::find(source_path_components.begin(),
                                         source_path_components.end(), tf_root_dir);
      if (source_tfroot_pos != source_path_components.end()) {
        tf_prefix_dir =
            absl::StrJoin(source_path_components.begin(), source_tfroot_pos, "/");
      } else {
        tf_prefix_dir = source_dir;
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 09:51:28 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r50/ToolingApiIdeaModelCrossVersionSpec.groovy

    import org.gradle.tooling.model.idea.IdeaContentRoot
    import org.gradle.tooling.model.idea.IdeaModule
    import org.gradle.tooling.model.idea.IdeaProject
    
    /**
     * NOTE: Starting with Gradle 5.0 the contract of IdeaModule#sourceDirs and IdeaModule#testSourceDirs changes in
     * a way that the resource directories are excluded.
     */
    @TargetGradleVersion(">=5.0")
    class ToolingApiIdeaModelCrossVersionSpec extends ToolingApiSpecification {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow_to_stablehlo/tf_to_stablehlo.cc

    #include "absl/status/status.h"
    #include "absl/status/statusor.h"
    #include "absl/strings/str_cat.h"
    #include "absl/strings/string_view.h"
    #include "llvm/ADT/ArrayRef.h"
    #include "llvm/ADT/SmallVector.h"
    #include "llvm/Support/SourceMgr.h"
    #include "mlir/IR/BuiltinOps.h"  // from @llvm-project
    #include "mlir/IR/Diagnostics.h"  // from @llvm-project
    #include "mlir/IR/MLIRContext.h"  // from @llvm-project
    #include "mlir/IR/OwningOpRef.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 22:58:42 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. testing/internal-testing/src/main/groovy/org/gradle/util/internal/Resources.java

            if (!destDir.mkdir()) {
                throw new IOException("Could not create root unzip directory " + destDir);
            }
    
            try (JarFile sourceJar = new JarFile(sourceJarPath)) {
                for (JarEntry sourceJarEntry : Collections.list(sourceJar.entries())) {
                    File currFile = new File(destDir, sourceJarEntry.getName());
                    if (sourceJarEntry.isDirectory()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top