Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for fileContent (1.36 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. platforms/software/resources-s3/src/integTest/groovy/org/gradle/integtests/resource/s3/S3ClientIntegrationTest.groovy

        @Requires(UnitTestPreconditions.Jdk9OrLater)
        def "should perform #authenticationType put get and list on an S3 bucket"() {
            setup:
            def fileContents = 'This is only a test'
            File file = temporaryFolder.createFile(FILE_NAME)
            file << fileContents
            def directSubdirectories = ['some-dir', 'second-dir', 'some-other-dir']
            directSubdirectories.each { temporaryFolder.createDir(it) }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. cmd/kubeadm/app/util/config/cluster_test.go

    		},
    		{
    			name:          "invalid - no node",
    			fileContents:  kubeletConfFiles["configWithEmbeddedCert"],
    			expectedError: true,
    		},
    	}
    
    	for _, rt := range tests {
    		t.Run(rt.name, func(t2 *testing.T) {
    			cfgPath := filepath.Join(tmpdir, kubeadmconstants.KubeletKubeConfigFileName)
    			if len(rt.fileContents) > 0 {
    				err := os.WriteFile(cfgPath, rt.fileContents, 0644)
    				if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 26.7K bytes
    - Viewed (0)
Back to top