Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,063 for PRESENT (0.3 sec)

  1. android/guava/src/com/google/common/base/Present.java

        return new Present<>(
            checkNotNull(
                function.apply(reference),
                "the Function passed to Optional.transform() must not return null."));
      }
    
      @Override
      public boolean equals(@CheckForNull Object object) {
        if (object instanceof Present) {
          Present<?> other = (Present<?>) object;
          return reference.equals(other.reference);
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Present.java

        return new Present<>(
            checkNotNull(
                function.apply(reference),
                "the Function passed to Optional.transform() must not return null."));
      }
    
      @Override
      public boolean equals(@CheckForNull Object object) {
        if (object instanceof Present) {
          Present<?> other = (Present<?>) object;
          return reference.equals(other.reference);
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  3. releasenotes/notes/header-present.yaml

    apiVersion: release-notes/v2
    kind: bug-fix
    area: traffic-management
    issue:
      - 47341
    releaseNotes:
    - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Nov 03 06:59:45 UTC 2023
    - 198 bytes
    - Viewed (0)
  4. pkg/env/var_test.go

    	}
    	if !present {
    		t.Errorf("Expected present")
    	}
    
    	v = ev.Get()
    	if v != 123 {
    		t.Errorf("Expected 123, got %v", v)
    	}
    
    	_ = os.Setenv(testVar, "789")
    
    	ev = RegisterIntVar(testVar, 123, "")
    	v, present = ev.Lookup()
    	if v != 789 {
    		t.Errorf("Expected 789, got %v", v)
    	}
    	if !present {
    		t.Errorf("Expected present")
    	}
    
    	v = ev.Get()
    	if v != 789 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 16:43:05 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  5. pkg/test/framework/label/filter.go

    // for execution or not.
    type Selector struct {
    	// The constraints are and'ed together.
    	present Set
    	absent  Set
    }
    
    var _ fmt.Stringer = Selector{}
    
    // NewSelector returns a new selector based on the given presence/absence predicates.
    func NewSelector(present []Instance, absent []Instance) Selector {
    	return Selector{
    		present: NewSet(present...),
    		absent:  NewSet(absent...),
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/CollectionFuture.java

      @CheckForNull @LazyInit private List<@Nullable Present<V>> values;
    
      CollectionFuture(
          ImmutableCollection<? extends ListenableFuture<? extends V>> futures,
          boolean allMustSucceed) {
        super(futures, allMustSucceed, true);
    
        List<@Nullable Present<V>> values =
            futures.isEmpty()
                ? Collections.<@Nullable Present<V>>emptyList()
                : Lists.<@Nullable Present<V>>newArrayListWithCapacity(futures.size());
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/api/internal/file/DefaultProjectLayoutTest.groovy

            def provider = layout.projectDirectory.dir(pathProvider)
            !provider.present
            provider.getOrNull() == null
        }
    
        def "regular file is not present when path provider is not present"() {
            def pathProvider = withNoValue()
    
            expect:
            def provider = layout.projectDirectory.file(pathProvider)
            !provider.present
            provider.getOrNull() == null
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 23 16:13:03 UTC 2022
    - 9.5K bytes
    - Viewed (0)
  8. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/vfs/impl/AbstractVirtualFileSystemTest.groovy

            instant.invalidated < instant.snapshottingFinished
            !vfs.findSnapshot(location).present
            !vfs.findSnapshot("${location}/some/child").present
            !vfs.findSnapshot("${location}/some/child2").present
            vfs.findSnapshot("${location}/other/child").present
            vfs.findSnapshot("${location}/other/child2").present
        }
    
        def "does not store snapshot when invalidate all happened in between"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  9. platforms/native/language-native/src/test/groovy/org/gradle/language/internal/DefaultBinaryCollectionTest.groovy

        }
    
        def "can get by name before element is present and query after realized"() {
            def binary1 = Stub(SwiftBinary)
            binary1.name >> "test1"
    
            expect:
            def p = container.getByName("test1")
            !p.present
    
            container.add(binary1)
    
            !p.present
    
            container.realizeNow()
    
            p.present
            p.get() == binary1
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/CollectionFuture.java

      @CheckForNull @LazyInit private List<@Nullable Present<V>> values;
    
      CollectionFuture(
          ImmutableCollection<? extends ListenableFuture<? extends V>> futures,
          boolean allMustSucceed) {
        super(futures, allMustSucceed, true);
    
        List<@Nullable Present<V>> values =
            futures.isEmpty()
                ? Collections.<@Nullable Present<V>>emptyList()
                : Lists.<@Nullable Present<V>>newArrayListWithCapacity(futures.size());
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top