Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 60 for reopen (0.1 sec)

  1. pkg/kubelet/logs/container_log_manager.go

    		if err = c.runtimeService.ReopenContainerLog(ctx, id); err != nil {
    			klog.ErrorS(err, "Container log doesn't exist, reopen container log failed", "worker", worker, "containerID", id, "path", path)
    			return
    		}
    
    		info, err = c.osInterface.Stat(path)
    		if err != nil {
    			klog.ErrorS(err, "Failed to stat container log after reopen", "worker", worker, "containerID", id, "path", path)
    			return
    		}
    	}
    	if info.Size() < c.policy.MaxSize {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 15K bytes
    - Viewed (0)
  2. src/testing/fstest/testfs.go

    	d.Close()
    
    	// Reopen directory, read a second time, make sure contents match.
    	if d = t.openDir(dir); d == nil {
    		return
    	}
    	defer d.Close()
    	list2, err = d.ReadDir(-1)
    	if err != nil {
    		t.errorf("%s: second Open+ReadDir(-1): %w", dir, err)
    		return
    	}
    	t.checkDirList(dir, "first Open+ReadDir(-1) vs second Open+ReadDir(-1)", list, list2)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbFileOutputStream.java

        }
    
    
        /**
         * @return whether the stream is open
         */
        public boolean isOpen () {
            return this.handle != null && this.handle.isValid();
        }
    
    
        protected synchronized SmbFileHandleImpl ensureOpen () throws CIFSException {
            if ( !isOpen() ) {
                // one extra acquire to keep this open till the stream is released
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sat Nov 13 15:14:04 UTC 2021
    - 11.9K bytes
    - Viewed (0)
  4. pkg/kubelet/network/dns/dns_test.go

    		{"options ndots:1 ndots:5 attempts:2", []string{}, []string{}, []string{"ndots:5", "attempts:2"}, false},
    		{"options ndots:1 edns0 attempts:2 single-request-reopen", []string{}, []string{}, []string{"edns0", "attempts:2", "single-request-reopen", "ndots:1"}, false},
    		{"options ndots:1\noptions ndots:5 attempts:3", []string{}, []string{}, []string{"ndots:5", "attempts:3"}, false},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbCopyUtil.java

                            if ( dfd == null || !dfd.isValid() ) {
                                // don't reopen the file for every round if it's not necessary, keep the lock
                                dfd = openCopyTargetFile(dest, src.getAttributes(), !write);
                            }
    
                            // FSCTL_SRV_COPYCHUNK_WRITE allows to open the file for writing only, FSCTL_SRV_COPYCHUNK also
                            // needs read access
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 17.1K bytes
    - Viewed (0)
  6. pkg/kubelet/kuberuntime/kuberuntime_gc.go

    						//
    						// 1. rename current log to rotated log file whose filename contains current timestamp (fmt.Sprintf("%s.%s", log, timestamp))
    						// 2. reopen the container log
    						// 3. if #2 fails, rename rotated log file back to container log
    						//
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  7. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/btree/BTreePersistentIndexedCache.java

            try {
                open();
            } catch (Exception e) {
                throw new UncheckedIOException(String.format("Could not open %s.", this), e);
            }
        }
    
        @Override
        public String toString() {
            return "cache " + cacheFile.getName() + " (" + cacheFile + ")";
        }
    
        private void open() throws Exception {
            LOGGER.debug("Opening {}", this);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 26.5K bytes
    - Viewed (0)
  8. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/LockOnDemandCrossProcessCacheAccessTest.groovy

            def action = Mock(Supplier)
            def onOpen = Mock(Consumer)
            def onClose = Mock(Consumer)
            def lock = Mock(FileLock)
            def cacheAccess = new LockOnDemandCrossProcessCacheAccess("<cache>", file, DefaultLockOptions.mode(FileLockManager.LockMode.Exclusive), lockManager, new ReentrantLock(), Stub(CacheInitializationAction), onOpen, onClose)
    
            when:
            cacheAccess.withFileLock(action)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r56/ClosedProjectSubstitutionCrossVersionSpec.groovy

        }
    
        EclipseWorkspaceProject gradleProject(String name, boolean isOpen = true) {
            project(name, file(name), isOpen)
        }
    
        EclipseWorkspaceProject project(String name, File location, boolean isOpen = true) {
            new DefaultEclipseWorkspaceProject(name, location, isOpen)
        }
    
        EclipseWorkspaceProject externalProject(String name) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

    
        public String getUncPath () {
            return this.uncPath;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbPipeHandle#isOpen()
         */
        @Override
        public boolean isOpen () {
            return this.open && this.handle != null && this.handle.isValid();
        }
    
    
        /**
         * 
         * {@inheritDoc}
         *
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Apr 13 17:05:22 UTC 2020
    - 10.3K bytes
    - Viewed (0)
Back to top