Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 126 for isnoneq (0.1 sec)

  1. src/cmd/compile/internal/ssa/poset.go

    		path.Set(cur)
    	}
    }
    
    // Check whether it is recorded that i1!=i2
    func (po *poset) isnoneq(i1, i2 uint32) bool {
    	if i1 == i2 {
    		return false
    	}
    	if i1 < i2 {
    		i1, i2 = i2, i1
    	}
    
    	// Check if we recorded a non-equal relation before
    	if bs, ok := po.noneq[i1]; ok && bs.Test(i2) {
    		return true
    	}
    	return false
    }
    
    // Record that i1!=i2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 04 17:23:05 UTC 2023
    - 37.2K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resource/local/LazyLocallyAvailableResourceCandidatesTest.groovy

            def candidates = new LazyLocallyAvailableResourceCandidates(factory, TestUtil.checksumService)
    
            then:
            0 * factory.create()
    
            when:
            def isNone = candidates.isNone()
    
            then:
            !isNone
            1 * factory.create() >> [file("abc"), file("def")]
    
            when:
            def candidate = candidates.findByHashValue(Hashing.sha1().hashString("def"))
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resource/local/CompositeLocallyAvailableResourceFinderTest.groovy

            and:
            0 * c1._(*_)
            0 * c2._(*_)
            0 * c3._(*_)
    
            when:
            def isNone = candidates.isNone()
    
            then:
            1 * c1.isNone() >> true
    
            and:
            1 * c2.isNone() >> false
            0 * c3.isNone()
    
            when:
            def match = candidates.findByHashValue(hash)
    
            then:
            1 * c1.findByHashValue(hash) >> null
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  4. platforms/software/resources/src/main/java/org/gradle/internal/resource/local/CompositeLocallyAvailableResourceFinder.java

                this.allCandidates = allCandidates;
            }
    
            @Override
            public boolean isNone() {
                for (LocallyAvailableResourceCandidates candidates : allCandidates) {
                    if (!candidates.isNone()) {
                        return false;
                    }
                }
    
                return true;
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  5. pkg/auth/nodeidentifier/default.go

    		return "", false
    	}
    
    	userName := u.GetName()
    	if !strings.HasPrefix(userName, nodeUserNamePrefix) {
    		return "", false
    	}
    
    	isNode := false
    	for _, g := range u.GetGroups() {
    		if g == user.NodesGroup {
    			isNode = true
    			break
    		}
    	}
    	if !isNode {
    		return "", false
    	}
    
    	nodeName := strings.TrimPrefix(userName, nodeUserNamePrefix)
    	return nodeName, true
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 15 09:32:31 UTC 2017
    - 1.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTester.java

        assertTrue(future.isDone());
        assertFalse(future.isCancelled());
    
        assertEquals(expectedValue, future.get());
      }
    
      public void testCancelledFuture() throws InterruptedException, ExecutionException {
        assertTrue(future.isDone());
        assertTrue(future.isCancelled());
    
        assertTrue(latch.await(5, TimeUnit.SECONDS));
        assertTrue(future.isDone());
        assertTrue(future.isCancelled());
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java

        assertFalse(task.isDone());
        assertFalse(task.isCancelled());
    
        // Start the task to put it in the RUNNING state.  Have to use a separate
        // thread because the task will block on the task latch after unblocking
        // the run latch.
        exec.execute(task);
        runLatch.await();
        assertEquals(1, listenerLatch.getCount());
        assertFalse(task.isDone());
        assertFalse(task.isCancelled());
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

        assertFalse(task.isDone());
        task.run();
        assertTrue(task.isDone());
        assertFalse(task.isCancelled());
        assertEquals(2, getDone(task).intValue());
      }
    
      public void testCancelled() throws Exception {
        TrustedListenableFutureTask<Integer> task = TrustedListenableFutureTask.create(returning(2));
        assertFalse(task.isDone());
        task.cancel(false);
        assertTrue(task.isDone());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/ListenableFutureTester.java

        assertTrue(future.isDone());
        assertFalse(future.isCancelled());
    
        assertEquals(expectedValue, future.get());
      }
    
      public void testCancelledFuture() throws InterruptedException, ExecutionException {
        assertTrue(future.isDone());
        assertTrue(future.isCancelled());
    
        assertTrue(latch.await(5, TimeUnit.SECONDS));
        assertTrue(future.isDone());
        assertTrue(future.isCancelled());
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java

        assertFalse(task.isDone());
        assertFalse(task.isCancelled());
    
        // Start the task to put it in the RUNNING state.  Have to use a separate
        // thread because the task will block on the task latch after unblocking
        // the run latch.
        exec.execute(task);
        runLatch.await();
        assertEquals(1, listenerLatch.getCount());
        assertFalse(task.isDone());
        assertFalse(task.isCancelled());
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.7K bytes
    - Viewed (0)
Back to top