Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 631 for penName (0.12 sec)

  1. src/cmd/go/testdata/script/mod_retract_rename.txt

    go list -m -retracted -f '{{with .Retracted}}retracted{{end}}' example.com/retract/rename
    
    # 'go list -m -u' should load retractions, too.
    go list -m -u -f '{{with .Retracted}}retracted{{end}}' example.com/retract/rename
    
    # 'go get' should warn about the retracted version.
    go get
    stderr '^go: warning: example.com/retract/rename@v1.0.0-bad: retracted by module author: bad$'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 863 bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/max_seats.go

    	}
    }
    
    func (m *maxSeatsTracker) GetMaxSeats(plName string) uint64 {
    	m.RLock()
    	defer m.RUnlock()
    
    	return m.maxSeats[plName]
    }
    
    func (m *maxSeatsTracker) SetMaxSeats(plName string, maxSeats uint64) {
    	m.Lock()
    	defer m.Unlock()
    
    	m.maxSeats[plName] = maxSeats
    }
    
    func (m *maxSeatsTracker) ForgetPriorityLevel(plName string) {
    	m.Lock()
    	defer m.Unlock()
    
    	delete(m.maxSeats, plName)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 17 19:26:52 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/api/internal/file/copy/DelegatingCopySpecInternal.java

        }
    
        @Override
        public CopySpec rename(Closure closure) {
            return getDelegateCopySpec().rename(closure);
        }
    
        @Override
        public CopySpec rename(Transformer<String, String> renamer) {
            return getDelegateCopySpec().rename(renamer);
        }
    
        @Override
        public CopySpec rename(String sourceRegEx, String replaceWith) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 01 10:41:40 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  4. src/cmd/go/internal/robustio/robustio_flaky.go

    			break
    		}
    		time.Sleep(nextSleep)
    		nextSleep += time.Duration(rand.Int63n(int64(nextSleep)))
    	}
    
    	return bestErr
    }
    
    // rename is like os.Rename, but retries ephemeral errors.
    //
    // On Windows it wraps os.Rename, which (as of 2019-06-04) uses MoveFileEx with
    // MOVEFILE_REPLACE_EXISTING.
    //
    // Windows also provides a different system call, ReplaceFile,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  5. pkg/volume/csi/csi_attacher_test.go

    	bTrue  = true
    )
    
    func makeTestAttachment(attachID, nodeName, pvName string) *storage.VolumeAttachment {
    	return &storage.VolumeAttachment{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: attachID,
    		},
    		Spec: storage.VolumeAttachmentSpec{
    			NodeName: nodeName,
    			Attacher: "mock",
    			Source: storage.VolumeAttachmentSource{
    				PersistentVolumeName: &pvName,
    			},
    		},
    		Status: storage.VolumeAttachmentStatus{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 58.1K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/files/copy/kotlin/build.gradle.kts

    configurations { "runtime" }
    
    // tag::rename-files[]
    tasks.register<Copy>("rename") {
        from("src/main/webapp")
        into(layout.buildDirectory.dir("explodedWar"))
        // Use a regular expression to map the file name
        rename("(.+)-staging(.+)", "$1$2")
        rename("(.+)-staging(.+)".toRegex().pattern, "$1$2")
        // Use a closure to convert all file names to upper case
        rename { fileName: String ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  7. src/internal/types/testdata/check/importC.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package importC
    
    import "C"
    import _ /* ERROR `cannot rename import "C"` */ "C"
    import foo /* ERROR `cannot rename import "C"` */ "C"
    import . /* ERROR `cannot rename import "C"` */ "C"
    
    // Test cases extracted from issue #22090.
    
    import "unsafe"
    
    const _ C.int = 0xff // no error due to invalid constant type
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/files/copy/groovy/build.gradle

    configurations { runtime }
    
    // tag::rename-files[]
    tasks.register('rename', Copy) {
        from 'src/main/webapp'
        into layout.buildDirectory.dir('explodedWar')
        // Use a regular expression to map the file name
        rename '(.+)-staging(.+)', '$1$2'
        rename(/(.+)-staging(.+)/, '$1$2')
        // Use a closure to convert all file names to upper case
        rename { String fileName ->
            fileName.toUpperCase()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  9. src/cmd/go/internal/robustio/robustio_other.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build !windows && !darwin
    
    package robustio
    
    import (
    	"os"
    )
    
    func rename(oldpath, newpath string) error {
    	return os.Rename(oldpath, newpath)
    }
    
    func readFile(filename string) ([]byte, error) {
    	return os.ReadFile(filename)
    }
    
    func removeAll(path string) error {
    	return os.RemoveAll(path)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 516 bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/controller_test.go

    					t.Errorf("Fail: unexpected QueueSets %v", extraQueueSetNames)
    				}
    				for plName, hr, nCount := cts.popHeldRequest(); hr != nil; plName, hr, nCount = cts.popHeldRequest() {
    					desired := desiredPLNames.Has(plName) || mandPLs[plName] != nil
    					if testDebugLogs {
    						t.Logf("Releasing held request %#+v, desired=%v, plName=%s, count:=%d", hr.rd, desired, plName, nCount)
    					}
    					close(hr.finishCh)
    				}
    				cts.requestWG.Wait()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 18.4K bytes
    - Viewed (0)
Back to top