Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2191 - 2200 of 2,316 for Booleans (0.06 sec)

  1. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

            // we'd be interfering with their operation.
            executingTaskQueue.thread = null;
          }
        }
    
        private boolean trySetStarted() {
          return compareAndSet(NOT_RUN, STARTED);
        }
    
        private boolean trySetCancelled() {
          return compareAndSet(NOT_RUN, CANCELLED);
        }
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 01:35:55 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/HashTestUtils.java

            }
          };
    
      enum RandomHasherAction {
        PUT_BOOLEAN() {
          @Override
          void performAction(Random random, Iterable<? extends PrimitiveSink> sinks) {
            boolean value = random.nextBoolean();
            for (PrimitiveSink sink : sinks) {
              sink.putBoolean(value);
            }
          }
        },
        PUT_BYTE() {
          @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

        }
    
        @DisplayName("Should handle various share flag combinations")
        @ParameterizedTest
        @MethodSource("provideFlagCombinations")
        void testShareFlagCombinations(int flags, boolean expectedDfs) throws SMBProtocolDecodingException {
            // Given
            byte[] buffer = createValidResponseBuffer(0, flags, 0, 0);
    
            // When
            response.readBytesWireFormat(buffer, 0);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ObjectCountHashMap.java

          long entry = entries[next];
          if (getHash(entry) == hash && Objects.equals(key, keys[next])) {
            return next;
          }
          next = getNext(entry);
        }
        return -1;
      }
    
      public boolean containsKey(@Nullable Object key) {
        return indexOf(key) != -1;
      }
    
      public int get(@Nullable Object key) {
        int index = indexOf(key);
        return (index == -1) ? 0 : values[index];
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/math/PairedStats.java

       * same values in the same order if {@code strictfp} is in effect, or if the system architecture
       * guarantees {@code strictfp}-like semantics.)
       */
      @Override
      public boolean equals(@Nullable Object obj) {
        if (obj == null) {
          return false;
        }
        if (getClass() != obj.getClass()) {
          return false;
        }
        PairedStats other = (PairedStats) obj;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  6. cmd/postpolicyform.go

    			return parsedPolicy, fmt.Errorf("Unknown field %s of type %s found in POST policy form",
    				condt, reflect.TypeOf(condt).String())
    		}
    	}
    	return parsedPolicy, nil
    }
    
    // checkPolicyCond returns a boolean to indicate if a condition is satisfied according
    // to the passed operator
    func checkPolicyCond(op string, input1, input2 string) bool {
    	switch op {
    	case policyCondEqual:
    		return input1 == input2
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Oct 23 15:10:12 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java

            assertFalse(status.equals(nullStatus));
    
            // null == Enum should be false
            assertFalse(nullStatus == status);
    
            // Verify no NullPointerException when comparing with ==
            boolean result = (nullStatus == CrawlerStatus.INITIALIZING);
            assertFalse(result);
        }
    
        /**
         * Test thread safety of enum
         */
        public void test_threadSafety() throws Exception {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/ntlmssp/Type2Message.java

            }
    
            final byte[] targetInfo = readSecurityBuffer(input, pos);
            if (targetInfo.length != 0) {
                setTargetInformation(targetInfo);
            }
        }
    
        private static boolean allZeros8(final byte[] input, final int pos) {
            for (int i = pos; i < pos + 8; i++) {
                if (input[i] != 0) {
                    return false;
                }
            }
            return true;
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt

      override fun close() = source().closeQuietly()
    
      internal class BomAwareReader(
        private val source: BufferedSource,
        private val charset: Charset,
      ) : Reader() {
        private var closed: Boolean = false
        private var delegate: Reader? = null
    
        @Throws(IOException::class)
        override fun read(
          cbuf: CharArray,
          off: Int,
          len: Int,
        ): Int {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue May 27 14:51:25 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

          fail();
        } catch (ExecutionException e) {
          assertThat(e).hasCauseThat().isSameInstanceAs(expectedException);
        }
      }
    
      private static void assertCancelled(AbstractFuture<Integer> future, boolean expectWasInterrupted)
          throws InterruptedException, TimeoutException, ExecutionException {
        assertDone(future);
        assertThat(future.isCancelled()).isTrue();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.4K bytes
    - Viewed (0)
Back to top