Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for expandVar (0.16 sec)

  1. src/cmd/go/internal/generate/generate.go

    	fmt.Fprintf(os.Stderr, "%s:%d: %s\n", base.ShortPath(g.path), g.lineNum,
    		fmt.Sprintf(format, args...))
    	panic(stop)
    }
    
    // expandVar expands the $XXX invocation in word. It is called
    // by os.Expand.
    func (g *Generator) expandVar(word string) string {
    	w := word + "="
    	for _, e := range g.env {
    		if strings.HasPrefix(e, w) {
    			return e[len(w):]
    		}
    	}
    	return os.Getenv(word)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 29 19:39:24 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  2. pkg/volume/csi/expander.go

    	return true
    }
    
    func (c *csiPlugin) NodeExpand(resizeOptions volume.NodeResizeOptions) (bool, error) {
    	klog.V(4).Infof(log("Expander.NodeExpand(%s)", resizeOptions.DeviceMountPath))
    	csiSource, err := getCSISourceFromSpec(resizeOptions.VolumeSpec)
    	if err != nil {
    		return false, errors.New(log("Expander.NodeExpand failed to get CSI persistent source: %v", err))
    	}
    
    	csClient, err := newCsiDriverClient(csiDriverName(csiSource.Driver))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 31 17:23:56 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. pkg/volume/flexvolume/expander.go

    Hemant Kumar <******@****.***> 1551618781 -0500
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 14:21:44 UTC 2019
    - 2.2K bytes
    - Viewed (0)
  4. platforms/jvm/plugins-java-library/src/integTest/groovy/org/gradle/api/plugins/JavaLibraryDistributionIntegrationTest.groovy

                runtimeOnly 'commons-lang:commons-lang:2.6'
            }
            """
    
            when:
            run 'distZip'
    
            then:
            def expandDir = file('expanded')
            file('build/distributions/DefaultJavaDistribution.zip').unzipTo(expandDir)
            expandDir.assertHasDescendants(
                    'DefaultJavaDistribution/lib/commons-collections-3.2.2.jar',
                    'DefaultJavaDistribution/lib/commons-cli-1.2.jar',
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 18 13:02:41 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/bundling/ArchiveIntegrationTest.groovy

            def expandDir = file('expandedUncompressed')
            file('build/uncompressedTest.zip').unzipTo(expandDir)
            expandDir.assertHasDescendants(
                'prefix/dir1/file1.txt',
                'prefix/file1.txt',
                'prefix/dir2/file2.txt',
                'scripts/dir1',
                'scripts/dir2/script.sh')
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/api/internal/file/archive/ZipCopyActionTest.groovy

            given:
            zip(dir("dir"), file("dir/file1"), file("file2"))
    
            when:
            TestFile expandDir = tmpDir.getTestDirectory().file("expanded")
            zipFile.unzipTo(expandDir)
    
            then:
            expandDir.file("dir/file1").assertContents(equalTo("contents of dir/file1"))
            expandDir.file("file2").assertContents(equalTo("contents of file2"))
        }
    
        void createsDeflatedZipFile() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 22 14:26:33 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  7. src/vendor/golang.org/x/crypto/hkdf/hkdf.go

    	n := copy(p, f.buf)
    	p = p[n:]
    
    	// Fill the rest of the buffer
    	for len(p) > 0 {
    		if f.counter > 1 {
    			f.expander.Reset()
    		}
    		f.expander.Write(f.prev)
    		f.expander.Write(f.info)
    		f.expander.Write([]byte{f.counter})
    		f.prev = f.expander.Sum(f.prev[:0])
    		f.counter++
    
    		// Copy the new batch into p
    		f.buf = f.prev
    		n = copy(p, f.buf)
    		p = p[n:]
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  8. pkg/volume/flexvolume/expander-defaults.go

    Davanum Srinivas <******@****.***> 1587151506 -0400
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 16 11:54:27 UTC 2020
    - 2K bytes
    - Viewed (0)
  9. src/crypto/internal/bigmod/nat_test.go

    	N, _ := NewModulusFromBig(n)
    	A := NewNat().setBig(a).ExpandFor(N)
    	B := NewNat().setBig(b).ExpandFor(N)
    
    	if A.Mul(B, N).IsZero() != 1 {
    		t.Error("a * b mod (a * b) != 0")
    	}
    
    	i := new(big.Int).ModInverse(a, b)
    	N, _ = NewModulusFromBig(b)
    	A = NewNat().setBig(a).ExpandFor(N)
    	I := NewNat().setBig(i).ExpandFor(N)
    	one := NewNat().setBig(big.NewInt(1)).ExpandFor(N)
    
    	if A.Mul(I, N).Equal(one) != 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 12 00:56:20 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/api/internal/file/archive/TarCopyActionSpec.groovy

            tar(file("dir/file1"), file("file2"))
    
            TestFile expandDir = temporaryFolder.getTestDirectory().file("expanded")
            tarFile.untarTo(expandDir)
            expandDir.file("dir/file1").assertContents(equalTo("contents of dir/file1"))
            expandDir.file("file2").assertContents(equalTo("contents of file2"))
        }
    
        def "tar file contains expected permissions"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 22 14:26:33 UTC 2023
    - 6.4K bytes
    - Viewed (0)
Back to top