Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for fileContent (0.37 sec)

  1. analysis/analysis-api-standalone/analysis-api-standalone-base/src/org/jetbrains/kotlin/analysis/api/standalone/base/declarations/KotlinStandaloneDeclarationProvider.kt

                val fileContent = FileContentImpl.createByFile(virtualFile, project)
                createKtFileStub(psiManager, builtInDecompiler, fileContent)
            }
        }
    
        private fun createKtFileStub(
            psiManager: PsiManager,
            builtInDecompiler: KotlinBuiltInDecompiler,
            fileContent: FileContent,
        ): KotlinFileStubImpl? {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  2. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/archive/ArchiveTestFixture.groovy

        /**
         * Asserts that there is exactly one file present with the given path, and that this file has the given content.
         */
        def assertFileContent(String relativePath, String fileContent) {
            assertFileContent(relativePath, equalTo(fileContent))
        }
    
        def assertFileContent(String relativePath, Matcher contentMatcher) {
            assertThat(content(relativePath), contentMatcher)
            this
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. cmd/gotemplate/gotemplate_test.go

    		},
    	} {
    		cwd, err := os.Getwd()
    		require.NoError(t, err)
    
    		t.Run(name, func(t *testing.T) {
    			tmp := t.TempDir()
    			for fileName, fileContent := range tt.files {
    				err := os.WriteFile(path.Join(tmp, fileName), []byte(fileContent), 0666)
    				require.NoError(t, err, "create input file")
    			}
    			defer os.Chdir(cwd)
    			require.NoError(t, os.Chdir(tmp), "change into tmp directory")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 22 13:43:42 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. pkg/util/kernel/version.go

    func getVersion(readFile readFileFunc) (*version.Version, error) {
    	kernelVersionFile := "/proc/sys/kernel/osrelease"
    	fileContent, err := readFile(kernelVersionFile)
    	if err != nil {
    		return nil, fmt.Errorf("failed to read os-release file: %s", err.Error())
    	}
    
    	kernelVersion, err := version.ParseGeneric(strings.TrimSpace(string(fileContent)))
    	if err != nil {
    		return nil, fmt.Errorf("failed to parse kernel version: %s", err.Error())
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 19:24:34 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/preflight/checks_test.go

    			serviceCidr: "10.96.0.0/16,fda9:d324:354d:1::/112",
    			expStr:      []string{"FileContent--proc-sys-net-ipv4-ip_forward", "FileContent--proc-sys-net-ipv6-conf-default-forwarding"},
    		},
    		{
    			testName:    "single stack ipv4",
    			PodSubnet:   "10.244.0.0/16",
    			serviceCidr: "10.96.0.0/16",
    			expStr:      []string{"FileContent--proc-sys-net-ipv4-ip_forward"},
    		},
    		{
    			testName:    "single stack ipv6",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/test_cache_inputs.txt

    exec ./mkold$GOEXE 1m testcache/file.txt
    go test testcache -run=FileContent
    go test testcache -run=FileContent
    stdout '\(cached\)'
    cp 2y.txt testcache/file.txt
    exec ./mkold$GOEXE 50s testcache/file.txt
    go test testcache -run=FileContent
    ! stdout '\(cached\)'
    go test testcache -run=FileContent
    stdout '\(cached\)'
    
    # Directory contents read via os.ReadDirNames should affect caching.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 22:23:53 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/IncrementalCompileFilesFactory.java

                    .map(fileContent -> {
                        SourceFileState previousState = previous.getState(sourceFile);
    
                        if (previousState != null) {
                            // Already seen this source file before. See if we can reuse the analysis from last time
                            if (graphHasNotChanged(sourceFile, fileContent, previousState, existingHeaders)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/util/config/initconfiguration.go

    	var initcfg *kubeadmapi.InitConfiguration
    	var clustercfg *kubeadmapi.ClusterConfiguration
    
    	for gvk, fileContent := range gvkmap {
    		// first, check if this GVK is supported and possibly not deprecated
    		if err := validateSupportedVersion(gvk.GroupVersion(), allowDeprecated, allowExperimental); err != nil {
    			return nil, err
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 05 12:41:16 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/cache/internal/DefaultFileContentCacheFactory.java

            this.fileSystemAccess = fileSystemAccess;
            this.inMemoryCacheDecoratorFactory = inMemoryCacheDecoratorFactory;
            this.cache = cacheBuilderFactory
                .createCacheBuilder("fileContent")
                .withDisplayName("file content cache")
                .withInitialLockMode(FileLockManager.LockMode.OnDemand)
                .open();
        }
    
        @Override
        public void close() throws IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 15:51:31 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. cmd/sts-handlers_test.go

    			}
    			return nil
    		}
    		for _, f := range iamExportFiles {
    			iamFile := pathJoin(iamAssetsDir, f)
    
    			fileContent, ok := exportContent[f]
    			if !ok {
    				t.Fatalf("missing content for %s", f)
    			}
    
    			if err := rawDataFn(bytes.NewReader(fileContent), iamFile, len(fileContent)); err != nil {
    				t.Fatalf("failed to write %s: %v", iamFile, err)
    			}
    		}
    		zipWriter.Close()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 18:45:50 UTC 2024
    - 90K bytes
    - Viewed (0)
Back to top