Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 534 for Opened (0.25 sec)

  1. pkg/proxy/healthcheck/service_health.go

    // are 1 or more endpoints, it returns a 200 "OK".
    type ServiceHealthServer interface {
    	// Make the new set of services be active.  Services that were open before
    	// will be closed.  Services that are new will be opened.  Service that
    	// existed and are in the new set will be left alone.  The value of the map
    	// is the healthcheck-port to listen on.
    	SyncServices(newServices map[types.NamespacedName]uint16) error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 30 09:25:48 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  2. src/io/fs/glob.go

    	}
    }
    
    // glob searches for files matching pattern in the directory dir
    // and appends them to matches, returning the updated slice.
    // If the directory cannot be opened, glob returns the existing matches.
    // New matches are added in lexicographical order.
    func glob(fs FS, dir, pattern string, matches []string) (m []string, e error) {
    	m = matches
    	infos, err := ReadDir(fs, dir)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 11 20:25:50 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  3. src/cmd/internal/objfile/objfile.go

    	pcln() (textStart uint64, symtab, pclntab []byte, err error)
    	text() (textStart uint64, text []byte, err error)
    	goarch() string
    	loadAddress() (uint64, error)
    	dwarf() (*dwarf.Data, error)
    }
    
    // A File is an opened executable file.
    type File struct {
    	r       *os.File
    	entries []*Entry
    }
    
    type Entry struct {
    	name string
    	raw  rawFile
    }
    
    // A Sym is a symbol defined in an executable file.
    type Sym struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 24 16:01:55 UTC 2021
    - 4.2K bytes
    - Viewed (0)
  4. src/net/internal/socktest/sys_unix.go

    	}
    
    	sw.smu.Lock()
    	defer sw.smu.Unlock()
    	if so.Err != nil {
    		sw.stats.getLocked(so.Cookie).OpenFailed++
    		return -1, so.Err
    	}
    	nso := sw.addLocked(s, family, sotype, proto)
    	sw.stats.getLocked(nso.Cookie).Opened++
    	return s, nil
    }
    
    // Close wraps syscall.Close.
    func (sw *Switch) Close(s int) (err error) {
    	so := sw.sockso(s)
    	if so == nil {
    		return syscall.Close(s)
    	}
    	sw.fmu.RLock()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/FixedSharedModeCrossProcessCacheAccess.java

    import static org.gradle.cache.FileLockManager.LockMode.Exclusive;
    import static org.gradle.cache.FileLockManager.LockMode.Shared;
    
    /**
     * A {@link CrossProcessCacheAccess} implementation used when a cache is opened with a shared lock that is held until the cache is closed. The contract for {@link CrossProcessCacheAccess} requires an
     * exclusive lock be held, so this implementation simply throws 'not supported' exceptions for these methods.
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. src/os/os_unix_test.go

    		if dir, base := SplitPath(tt.path); dir != tt.wantDir || base != tt.wantBase {
    			t.Errorf("splitPath(%q) = %q, %q, want %q, %q", tt.path, dir, base, tt.wantDir, tt.wantBase)
    		}
    	}
    }
    
    // Test that copying to files opened with O_APPEND works and
    // the copy_file_range syscall isn't used on Linux.
    //
    // Regression test for go.dev/issue/60181
    func TestIssue60181(t *testing.T) {
    	defer chtmpdir(t)()
    
    	want := "hello gopher"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:32:43 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/ByteSink.java

     *       typically implemented by opening a stream using one of the methods in the first category,
     *       doing something and finally closing the stream or channel that was opened.
     * </ul>
     *
     * @since 14.0
     * @author Colin Decker
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public abstract class ByteSink {
    
      /** Constructor for use by subclasses. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/ByteSink.java

     *       typically implemented by opening a stream using one of the methods in the first category,
     *       doing something and finally closing the stream or channel that was opened.
     * </ul>
     *
     * @since 14.0
     * @author Colin Decker
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public abstract class ByteSink {
    
      /** Constructor for use by subclasses. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  9. src/net/internal/socktest/sys_windows.go

    	if so.Err != nil {
    		sw.stats.getLocked(so.Cookie).OpenFailed++
    		return syscall.InvalidHandle, so.Err
    	}
    	nso := sw.addLocked(s, int(family), int(sotype), int(proto))
    	sw.stats.getLocked(nso.Cookie).Opened++
    	return s, nil
    }
    
    // Closesocket wraps [syscall.Closesocket].
    func (sw *Switch) Closesocket(s syscall.Handle) (err error) {
    	so := sw.sockso(s)
    	if so == nil {
    		return syscall.Closesocket(s)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. platforms/software/resources-http/src/main/java/org/gradle/internal/resource/transport/http/HttpResponseResource.java

            return false;
        }
    
        @Override
        public InputStream openStream() throws IOException {
            if (wasOpened) {
                throw new IOException("Unable to open Stream as it was opened before.");
            }
            LOGGER.debug("Attempting to download resource {}.", source);
            this.wasOpened = true;
            return response.getContent();
        }
    
        @Override
        public void close() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 5.8K bytes
    - Viewed (0)
Back to top