Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for fileContent (0.3 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. 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)
  4. 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)
  5. 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)
  6. cmd/kubeadm/app/util/config/upgradeconfiguration_test.go

    		cfgPath      string
    		fileContents string
    		want         *kubeadmapi.UpgradeConfiguration
    		wantErr      bool
    	}{
    		{
    			name:    "Config file does not exists",
    			cfgPath: "tmp",
    			want:    nil,
    			wantErr: true,
    		},
    		{
    			name:         "Config file format is basic text",
    			cfgPath:      filePath,
    			want:         nil,
    			fileContents: "some-text",
    			wantErr:      true,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildOptionsIntegrationTest.groovy

            buildKotlinFile """
    
                $greetTask
    
                val emptyFileProperty = objects.fileProperty()
                val fileContents = providers.fileContents(emptyFileProperty).asText
                val greetingFromFile: $operatorType = fileContents.$operator("hello")
                tasks.register<Greet>("greet") {
                    greeting.set(greetingFromFile)
                }
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 28K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheInitScriptsIntegrationTest.groovy

                    def inputFile = fileFactory.file(file('${normaliseFileSeparators(buildLogicInput.absolutePath)}'))
                    def text = providers.fileContents(inputFile).asText.get()
                    println text
                """
            }
    
            when:
            configurationCacheRun 'tasks', '-I', initScript.absolutePath
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/main/groovy/gradlebuild.binary-compatibility.gradle

    def acceptedViolations = AcceptedApiChanges.parse(apiChangesJsonDirectory.asFile.listFiles()
        .findAll { it.name.endsWith(".json") }
        .collect { providers.fileContents(apiChangesJsonDirectory.file(it.name)).asText.get() }
    )
    
    def compatibilityBaselineVersion = moduleIdentity.releasedVersions.get().mostRecentRelease.version
    
    def ARTIFACT_TYPE = Attribute.of('artifactType', String)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 9K bytes
    - Viewed (0)
  10. pkg/volume/util/operationexecutor/operation_executor_test.go

    						},
    					},
    				},
    			},
    			Containers: []v1.Container{
    				{
    					Name:  "secret-volume-test",
    					Image: "registry.k8s.io/mounttest:0.8",
    					Args: []string{
    						"--file_content=/etc/secret-volume/data-1",
    						"--file_mode=/etc/secret-volume/data-1"},
    					VolumeMounts: []v1.VolumeMount{
    						{
    							Name:      secretName,
    							MountPath: "/data",
    						},
    					},
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 26.9K bytes
    - Viewed (0)
Back to top