Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 555 for nbsend (0.28 sec)

  1. test/closedchan.go

    import "os"
    
    var failed bool
    
    type Chan interface {
    	Send(int)
    	Nbsend(int) bool
    	Recv() (int)
    	Nbrecv() (int, bool)
    	Recv2() (int, bool)
    	Nbrecv2() (int, bool, bool)
    	Close()
    	Impl() string
    }
    
    // direct channel operations when possible
    type XChan chan int
    
    func (c XChan) Send(x int) {
    	c <- x
    }
    
    func (c XChan) Nbsend(x int) bool {
    	select {
    	case c <- x:
    		return true
    	default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 04:48:57 UTC 2012
    - 5.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Absent.java

    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class Absent<T> extends Optional<T> {
      static final Absent<Object> INSTANCE = new Absent<>();
    
      @SuppressWarnings("unchecked") // implementation is "fully variant"
      static <T> Optional<T> withType() {
        return (Optional<T>) INSTANCE;
      }
    
      private Absent() {}
    
      @Override
      public boolean isPresent() {
        return false;
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon May 17 14:07:47 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Absent.java

    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class Absent<T> extends Optional<T> {
      static final Absent<Object> INSTANCE = new Absent<>();
    
      @SuppressWarnings("unchecked") // implementation is "fully variant"
      static <T> Optional<T> withType() {
        return (Optional<T>) INSTANCE;
      }
    
      private Absent() {}
    
      @Override
      public boolean isPresent() {
        return false;
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon May 17 14:07:47 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  4. src/image/png/testdata/invalid-noend.png

    invalid-noend.png...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 1.2K bytes
    - Viewed (0)
  5. releasenotes/notes/send-stat.yaml

    apiVersion: release-notes/v2
    kind: feature
    area: networking
    releaseNotes:
    - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Oct 12 16:23:08 UTC 2020
    - 178 bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

        expectUnchanged();
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
      @CollectionSize.Require(ZERO)
      public void testRetainAll_emptyPreviouslyEmptyUnsupported() {
        expectReturnsFalseOrThrows(empty);
        expectUnchanged();
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testRetainAll_emptyPreviouslyNonEmpty() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/DelegatedGradlePropertiesExtensionsTest.kt

            mockForSettings(existing, absent).run {
                action()
                verifyTryGetProperty(existing, absent)
            }
        }
    
        private
        fun withMockForProject(existing: Pair<String, Any?>? = null, absent: String? = null, action: DynamicDelegatedPropertiesMock.ProjectMock.() -> Unit) {
            mockForProject(existing, absent).run {
                action()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 15:44:53 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

        assertOneToOne();
      }
    
      @CollectionSize.Require(absent = ZERO)
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testSetCount_oneToOne_removeSupported() {
        assertOneToOne();
      }
    
      @CollectionSize.Require(absent = ZERO)
      @CollectionFeature.Require(absent = {SUPPORTS_ADD, SUPPORTS_REMOVE})
      public void testSetCount_oneToOne_unsupported() {
        try {
          assertOneToOne();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/MapCreationTester.java

      @MapFeature.Require(ALLOWS_NULL_KEYS)
      @CollectionSize.Require(absent = ZERO)
      public void testCreateWithNullKeySupported() {
        initMapWithNullKey();
        expectContents(createArrayWithNullKey());
      }
    
      @MapFeature.Require(absent = ALLOWS_NULL_KEYS)
      @CollectionSize.Require(absent = ZERO)
      public void testCreateWithNullKeyUnsupported() {
        try {
          initMapWithNullKey();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

        expectUnchanged();
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
      @CollectionSize.Require(ZERO)
      public void testRetainAll_emptyPreviouslyEmptyUnsupported() {
        expectReturnsFalseOrThrows(empty);
        expectUnchanged();
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testRetainAll_emptyPreviouslyNonEmpty() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 10.5K bytes
    - Viewed (0)
Back to top