Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for isWrite (0.38 sec)

  1. security/pkg/nodeagent/cache/secretcache.go

    	for {
    		select {
    		case event, ok := <-sc.certWatcher.Events:
    			// Channel is closed.
    			if !ok {
    				return
    			}
    			// We only care about updates that change the file content
    			if !(isWrite(event) || isRemove(event) || isCreate(event)) {
    				continue
    			}
    			sc.certMutex.RLock()
    			resources := make(map[FileCert]struct{})
    			for k, v := range sc.fileCerts {
    				resources[k] = v
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 04 08:29:46 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/analysis/side_effect_analysis.cc

        kWrite = 3
      };
    
     public:
      bool IsAlloc() const { return effects_.test(kAlloc); }
      bool IsFree() const { return effects_.test(kFree); }
      bool IsRead() const { return effects_.test(kRead); }
      bool IsWrite() const { return effects_.test(kWrite); }
      bool IsAllocOnly() const { return IsAlloc() && effects_.count() == 1; }
      bool IsReadOnly() const { return IsRead() && effects_.count() == 1; }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/math/LongMathTest.java

        tester.testAllPublicStaticMethods(LongMath.class);
      }
    
      @GwtIncompatible // isPrime is GWT-incompatible
      public void testIsPrimeSmall() {
        // Check the first 1000 integers
        for (int i = 2; i < 1000; i++) {
          assertEquals(BigInteger.valueOf(i).isProbablePrime(100), LongMath.isPrime(i));
        }
      }
    
      @GwtIncompatible // isPrime is GWT-incompatible
      public void testIsPrimeManyConstants() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 04 20:15:57 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/math/LongMathTest.java

        tester.testAllPublicStaticMethods(LongMath.class);
      }
    
      @GwtIncompatible // isPrime is GWT-incompatible
      public void testIsPrimeSmall() {
        // Check the first 1000 integers
        for (int i = 2; i < 1000; i++) {
          assertEquals(BigInteger.valueOf(i).isProbablePrime(100), LongMath.isPrime(i));
        }
      }
    
      @GwtIncompatible // isPrime is GWT-incompatible
      public void testIsPrimeManyConstants() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 04 20:15:57 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

              ),
            isWriter = true,
          )
          return
        }
    
        try {
          writer.writePing(ByteString.EMPTY)
        } catch (e: IOException) {
          failWebSocket(e = e, isWriter = true)
        }
      }
    
      fun failWebSocket(
        e: Exception,
        response: Response? = null,
        isWriter: Boolean = false,
      ) {
        val streamsToCancel: Streams?
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/math/IntMathTest.java

        tester.testAllPublicStaticMethods(IntMath.class);
      }
    
      @GwtIncompatible // isPrime is GWT-incompatible
      public void testIsPrime() {
        // Defer correctness tests to Long.isPrime
    
        // Check the first 100,000 integers
        for (int i = 0; i < 100000; i++) {
          assertEquals(LongMath.isPrime(i), IntMath.isPrime(i));
        }
    
        // Then check 1000 deterministic pseudo-random int values.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  7. platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/testng/TestNGTestClassProcessor.java

    import org.gradle.internal.time.Clock;
    import org.gradle.util.internal.CollectionUtils;
    import org.gradle.util.internal.GFileUtils;
    import org.testng.IMethodInstance;
    import org.testng.IMethodInterceptor;
    import org.testng.ISuite;
    import org.testng.ITestContext;
    import org.testng.ITestListener;
    import org.testng.TestNG;
    
    import java.io.File;
    import java.util.ArrayList;
    import java.util.LinkedList;
    import java.util.List;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 21:25:59 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/junit/CategoryFilter.java

        }
    
        @Override
        public boolean shouldRun(final Description description) {
            Class<?> testClass = description.getTestClass();
            verifyCategories(testClass);
            Description parent = description.isSuite() || testClass == null ? null : Description.createSuiteDescription(testClass);
            return shouldRun(description, parent);
        }
    
        private void verifyCategories(Class<?> testClass) {
            if (testClass == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/math/IntMath.java

       * factored into smaller positive integers).
       *
       * <p>To test larger numbers, use {@link LongMath#isPrime} or {@link BigInteger#isProbablePrime}.
       *
       * @throws IllegalArgumentException if {@code n} is negative
       * @since 20.0
       */
      @GwtIncompatible // TODO
      public static boolean isPrime(int n) {
        return LongMath.isPrime(n);
      }
    
      private IntMath() {}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/math/IntMath.java

       * factored into smaller positive integers).
       *
       * <p>To test larger numbers, use {@link LongMath#isPrime} or {@link BigInteger#isProbablePrime}.
       *
       * @throws IllegalArgumentException if {@code n} is negative
       * @since 20.0
       */
      @GwtIncompatible // TODO
      public static boolean isPrime(int n) {
        return LongMath.isPrime(n);
      }
    
      private IntMath() {}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 23.5K bytes
    - Viewed (0)
Back to top