Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 729 for expandOr (0.39 sec)

  1. src/cmd/compile/internal/ssa/_gen/rulegen.go

    	right := s[idx[1]:]
    	if strings.Contains(left, "&&") && strings.Contains(right, "=>") {
    		// Inside && conditions.
    		return true
    	}
    	return false
    }
    
    // expandOr converts a rule into multiple rules by expanding | ops.
    func expandOr(r string) []string {
    	// Find every occurrence of |-separated things.
    	// They look like MOV(B|W|L|Q|SS|SD)load or MOV(Q|L)loadidx(1|8).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 02 22:09:21 UTC 2023
    - 48.7K bytes
    - Viewed (0)
  2. pkg/volume/csi/expander.go

    	if err != nil {
    		if inUseError(err) {
    			failedConditionErr := fmt.Errorf("Expander.NodeExpand failed to expand the volume : %w", volumetypes.NewFailedPreconditionError(err.Error()))
    			return false, failedConditionErr
    		}
    		return false, fmt.Errorf("Expander.NodeExpand failed to expand the volume : %w", err)
    	}
    	return true, nil
    }
    
    func inUseError(err error) bool {
    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-defaults.go

    }
    
    func (e *expanderDefaults) ExpandVolumeDevice(spec *volume.Spec, newSize resource.Quantity, oldSize resource.Quantity) (resource.Quantity, error) {
    	klog.Warning(logPrefix(e.plugin), "using default expand for volume ", spec.Name(), ", to size ", newSize, " from ", oldSize)
    	return newSize, nil
    }
    
    // the defaults for NodeExpand return a generic resize indicator that will trigger the operation executor to go ahead with
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 16 11:54:27 UTC 2020
    - 2K bytes
    - Viewed (0)
  4. 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)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/bundling/ArchiveIntegrationTest.groovy

                }
    '''
            when:
            run 'tar'
            then:
            def expandDir = file('expanded')
            file('build/test.tar').untarTo(expandDir)
            expandDir.assertHasDescendants('dir1/file1.txt', 'file1.txt', 'dir2/file2.txt', 'scripts/dir1', 'scripts/dir2/script.sh')
    
            expandDir.file('dir1/file1.txt').assertContents(equalTo('[abc]'))
        }
    
        def canCreateATgzArchive() {
    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. 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)
  7. 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)
  8. pkg/controller/volume/expand/expand_controller.go

    		return nil
    	}
    
    	volumeResizerName := volumePlugin.GetPluginName()
    	return expc.expand(logger, pvc, pv, volumeResizerName)
    }
    
    func (expc *expandController) expand(logger klog.Logger, pvc *v1.PersistentVolumeClaim, pv *v1.PersistentVolume, resizerName string) error {
    	// if node expand is complete and pv's annotation can be removed, remove the annotation from pv and return
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top