Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for FReopen (0.14 sec)

  1. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-port.h

    #endif
    inline FILE* FOpen(const char* path, const char* mode) {
      return fopen(path, mode);
    }
    #if !GTEST_OS_WINDOWS_MOBILE
    inline FILE *FReopen(const char* path, const char* mode, FILE* stream) {
      return freopen(path, mode, stream);
    }
    inline FILE* FDOpen(int fd, const char* mode) { return fdopen(fd, mode); }
    #endif
    inline int FClose(FILE* fp) { return fclose(fp); }
    #if !GTEST_OS_WINDOWS_MOBILE
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 67.2K bytes
    - Viewed (0)
  2. src/net/dnsconfig_unix.go

    					n, _, _ := dtoi(s[9:])
    					if n < 1 {
    						n = 1
    					}
    					conf.attempts = n
    				case s == "rotate":
    					conf.rotate = true
    				case s == "single-request" || s == "single-request-reopen":
    					// Linux option:
    					// http://man7.org/linux/man-pages/man5/resolv.conf.5.html
    					// "By default, glibc performs IPv4 and IPv6 lookups in parallel [...]
    					//  This option disables the behavior and makes glibc
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 02 22:14:43 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. 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)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/PathModularizationCache.java

    import org.apache.maven.api.JavaPathType;
    import org.apache.maven.api.PathType;
    
    /**
     * Cache of {@link PathModularization} instances computed for given {@link Path} elements.
     * The cache is used for avoiding the need to reopen the same files many times when the
     * same dependency is used for different scope. For example a path used for compilation
     * is typically also used for tests.
     */
    class PathModularizationCache {
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  5. src/os/stat_windows.go

    	}
    
    	fi, err := statHandle(name, h)
    	syscall.CloseHandle(h)
    	if err == nil && followSurrogates && fi.(*fileStat).isReparseTagNameSurrogate() {
    		// To obtain information about the link target, we reopen the file without
    		// FILE_FLAG_OPEN_REPARSE_POINT and examine the resulting handle.
    		// (See https://devblogs.microsoft.com/oldnewthing/20100212-00/?p=14963.)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:44:48 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. 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)
  7. src/syscall/fs_wasip1.go

    //go:wasmimport wasi_snapshot_preview1 fd_prestat_dir_name
    //go:noescape
    func fd_prestat_dir_name(fd int32, path unsafe.Pointer, pathLen size) Errno
    
    type opendir struct {
    	fd   int32
    	name string
    }
    
    // List of preopen directories that were exposed by the runtime. The first one
    // is assumed to the be root directory of the file system, and others are seen
    // as mount points at sub paths of the root.
    var preopens []opendir
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. src/cmd/link/internal/ld/lib.go

    	if ctxt.LinkMode != LinkInternal {
    		return
    	}
    	var h *Hostobj
    
    	for i := 0; i < len(hostobj); i++ {
    		h = &hostobj[i]
    		f, err := bio.Open(h.file)
    		if err != nil {
    			Exitf("cannot reopen %s: %v", h.pn, err)
    		}
    		f.MustSeek(h.off, 0)
    		if h.ld == nil {
    			Errorf(nil, "%s: unrecognized object file format", h.pn)
    			continue
    		}
    		h.ld(ctxt, f, h.pkg, h.length, h.pn)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
Back to top