Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for fileContent (0.2 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/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)
  4. 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)
  5. 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)
  6. cmd/kubeadm/app/preflight/checks.go

    }
    
    // Name returns label for individual FileContentChecks. If not known, will return based on path.
    func (fcc FileContentCheck) Name() string {
    	if fcc.Label != "" {
    		return fcc.Label
    	}
    	return fmt.Sprintf("FileContent-%s", strings.Replace(fcc.Path, "/", "-", -1))
    }
    
    // Check validates if the given file contains the given content.
    func (fcc FileContentCheck) Check() (warnings, errorList []error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 03 11:20:55 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  7. pkg/proxy/ipvs/proxier_test.go

    	}
    }
    
    func Test_getFirstColumn(t *testing.T) {
    	testCases := []struct {
    		name        string
    		fileContent string
    		want        []string
    		wantErr     bool
    	}{
    		{
    			name: "valid content",
    			fileContent: `libiscsi_tcp 28672 1 iscsi_tcp, Live 0xffffffffc07ae000
    libiscsi 57344 3 ib_iser,iscsi_tcp,libiscsi_tcp, Live 0xffffffffc079a000
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 186.8K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/util/marshal_test.go

    	var tests = []struct {
    		name         string
    		fileContents []byte
    		gvkmap       kubeadmapi.DocumentMap
    		expectedErr  bool
    	}{
    		{
    			name:         "FooOnly",
    			fileContents: files["foo"],
    			gvkmap: kubeadmapi.DocumentMap{
    				{Group: "foo.k8s.io", Version: "v1", Kind: "Foo"}: files["foo"],
    			},
    		},
    		{
    			name:         "FooBar",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 05:14:21 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  9. subprojects/core-api/src/main/java/org/gradle/api/provider/ProviderFactory.java

         * @param file the file whose contents to read.
         * @return an interface that allows lazy access to the contents of the given file.
         *
         * @see FileContents#getAsText()
         * @see FileContents#getAsBytes()
         *
         * @since 6.1
         */
        FileContents fileContents(RegularFile file);
    
        /**
         * Allows lazy access to the contents of the given file.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 09:14:21 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  10. cni/pkg/install/cniconfig_test.go

    			outFilename:     "regular.conf",
    			fileContents: `
    {
    	"cniVersion": "0.3.1",
    	"name": "istio-cni",
    	"type": "istio-cni"
    }`,
    		},
    		{
    			name:            "another regular file",
    			dir:             tempDir,
    			expectedFailure: false,
    			inFilename:      "regular2.conf",
    			outFilename:     "regular.conf",
    			fileContents: `
    {
    	"cniVersion": "0.3.1",
    	"name": "istio-cni",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 15.4K bytes
    - Viewed (0)
Back to top