Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for isWrite (0.12 sec)

  1. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/DefaultConfigurableUserClassFilePermissions.java

        public DefaultConfigurableUserClassFilePermissions(int unixNumeric) {
            setRead(isRead(unixNumeric));
            setWrite(isWrite(unixNumeric));
            setExecute(isExecute(unixNumeric));
        }
    
        @Override
        public void unix(String unixSymbolic) {
            setRead(isRead(unixSymbolic));
            setWrite(isWrite(unixSymbolic));
            setExecute(isExecute(unixSymbolic));
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  2. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/AbstractUserClassFilePermissions.java

            }
        }
    
        protected static boolean isWrite(int unixNumeric) {
            return (unixNumeric & 2) >> 1 == 1;
        }
    
        protected static boolean isWrite(String unixSymbolic) {
            char symbol = unixSymbolic.charAt(1);
            if (symbol == 'w') {
                return true;
            } else if (symbol == '-') {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  3. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/DefaultUserClassFilePermissions.java

        private final boolean read;
        private final boolean write;
        private final boolean execute;
    
        public DefaultUserClassFilePermissions(int unixNumeric) {
            read = isRead(unixNumeric);
            write = isWrite(unixNumeric);
            execute = isExecute(unixNumeric);
        }
    
        @Override
        public boolean getRead() {
            return read;
        }
    
        @Override
        public boolean getWrite() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/DefaultConfigurableFilePermissionsTest.java

            return String.format("%s%s%s", isRead(unitNumeric) ? "r" : "-", isWrite(unitNumeric) ? "w" : "-", isExecute(unitNumeric) ? "x" : "-");
        }
    
        private static boolean isRead(int unixNumeric) {
            return (unixNumeric & 4) >> 2 == 1;
        }
    
        private static boolean isWrite(int unixNumeric) {
            return (unixNumeric & 2) >> 1 == 1;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. android/guava-tests/benchmark/com/google/common/math/LongMathBenchmark.java

          tmp += LongMath.binomial(binomialArguments[j][0], binomialArguments[j][1]);
        }
        return tmp;
      }
    
      @Benchmark
      int isPrime(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
          int j = i & ARRAY_MASK;
          if (LongMath.isPrime(positive[j])) {
            tmp++;
          }
        }
        return tmp;
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.5K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top