Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 169 for gooses (0.19 sec)

  1. src/internal/goos/gengoos.go

    			inGOOS = true
    		} else if inGOOS && strings.HasPrefix(line, "}") {
    			break
    		} else if inGOOS {
    			goos := strings.Fields(line)[0]
    			goos = strings.TrimPrefix(goos, `"`)
    			goos = strings.TrimSuffix(goos, `":`)
    			gooses = append(gooses, goos)
    		}
    	}
    
    	for _, target := range gooses {
    		if target == "nacl" {
    			continue
    		}
    		var tags []string
    		if target == "linux" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 15 21:31:23 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  2. src/internal/goos/goos.go

    // license that can be found in the LICENSE file.
    
    // package goos contains GOOS-specific constants.
    package goos
    
    // The next line makes 'go generate' write the zgoos*.go files with
    // per-OS information, including constants named Is$GOOS for every
    // known GOOS. The constant is 1 on the current system, 0 otherwise;
    // multiplying by them is useful for defining GOOS-specific constants.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 534 bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/CallEvent.kt

    @SuppressSignatureCheck
    sealed class CallEvent {
      abstract val timestampNs: Long
      abstract val call: Call
    
      val name: String
        get() = javaClass.simpleName
    
      /** Returns if the event closes this event, or null if this is no open event. */
      open fun closes(event: CallEvent): Boolean? = null
    
      data class ProxySelectStart(
        override val timestampNs: Long,
        override val call: Call,
        val url: HttpUrl,
      ) : CallEvent()
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  4. test/fixedbugs/issue31412a.go

    type Name string
    
    type EFunc func(int) int
    
    func Register(f EFunc, names ...Name) int {
    	return f(len(names))
    }
    
    const (
    	B Name = "B"
    )
    
    func RegisterIt() {
    	n := B + "Duck"
    	d := B + "Goose"
    	f := func(x int) int { return x + 9 }
    	Register(f, n, d)
    }
    
    func main() {
    	RegisterIt()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:17:26 UTC 2019
    - 531 bytes
    - Viewed (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/ConnectionEvent.kt

    @SuppressSignatureCheck
    sealed class ConnectionEvent {
      abstract val timestampNs: Long
      open val connection: Connection?
        get() = null
    
      /** Returns if the event closes this event, or null if this is no open event. */
      open fun closes(event: ConnectionEvent): Boolean? = null
    
      val name: String
        get() = javaClass.simpleName
    
      data class ConnectStart(
        override val timestampNs: Long,
        val route: Route,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. platforms/core-execution/build-cache/src/test/groovy/org/gradle/caching/internal/controller/service/LoadTargetTest.groovy

            @Override
            void close() throws IOException {
                closed = true
            }
        }
    
        def "closes input"() {
            given:
            def input = new TestInputStream()
    
            when:
            target.readFrom(input)
    
            then:
            input.closed
        }
    
        def "closes input on subsequent use"() {
            given:
            def input = new TestInputStream()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:43:12 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  7. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/IoActions.java

            return new TextFileWriterIoAction(output, encoding);
        }
    
        /**
         * Performs the given action against the given resource, then closes the resource. Ignores failure to close the resource when
         * the action throws an exception.
         */
        public static <T extends Closeable> void withResource(T resource, Action<? super T> action) {
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/Closeables.java

    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public final class Closeables {
      @VisibleForTesting static final Logger logger = Logger.getLogger(Closeables.class.getName());
    
      private Closeables() {}
    
      /**
       * Closes a {@link Closeable}, with control over whether an {@code IOException} may be thrown.
       * This is primarily useful in a finally block, where a thrown exception needs to be logged but
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  9. src/os/file_mutex_plan9.go

    func (file *file) readLock() error {
    	if !file.fdmu.ReadLock() {
    		return ErrClosed
    	}
    	return nil
    }
    
    // readUnlock removes a reference from the file and unlocks it for reading.
    // It also closes the file if it marked as closed and there is no remaining
    // reference.
    func (file *file) readUnlock() {
    	if file.fdmu.ReadUnlock() {
    		file.destroy()
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Oct 08 03:57:40 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  10. src/io/pipe.go

    func (r *PipeReader) Read(data []byte) (n int, err error) {
    	return r.pipe.read(data)
    }
    
    // Close closes the reader; subsequent writes to the
    // write half of the pipe will return the error [ErrClosedPipe].
    func (r *PipeReader) Close() error {
    	return r.CloseWithError(nil)
    }
    
    // CloseWithError closes the reader; subsequent writes
    // to the write half of the pipe will return the error err.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:34:35 UTC 2023
    - 5.1K bytes
    - Viewed (0)
Back to top