Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1951 - 1960 of 2,077 for boolean (0.12 sec)

  1. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:51:25 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache2/Relay.kt

       * resources are released and all following calls to [.newSource] return null. Guarded by this.
       */
      var sourceCount = 0
    
      val isClosed: Boolean
        get() = file == null
    
      @Throws(IOException::class)
      private fun writeHeader(
        prefix: ByteString,
        upstreamSize: Long,
        metadataSize: Long,
      ) {
        val header =
          Buffer().apply {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 17:15:47 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  3. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  4. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  5. 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: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SID.java

         * @param decrementAuthority whether to decrement the authority count
         */
        public SID(final rpc.sid_t sid, final int type, final String domainName, final String acctName, final boolean decrementAuthority) {
            this.revision = sid.revision;
            this.sub_authority_count = sid.sub_authority_count;
            this.identifier_authority = sid.identifier_authority;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/spnego/NegTokenInitTest.java

        // Helper to build a SPNEGO NegTokenInit as per NegTokenInit#toByteArray but parameterized for tests
        private static byte[] buildInitToken(ASN1ObjectIdentifier[] mechs, Integer flags, byte[] mechToken, byte[] mic, boolean micInTag4,
                String spnegoOidOverride, Integer outerTagNoOverride, ASN1TaggedObject extraField) throws IOException {
    
            ASN1EncodableVector fields = new ASN1EncodableVector();
            if (mechs != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java

        public void test_insert() {
            loadTestData();
    
            StopwordsItem newItem = new StopwordsItem(0, "test");
            stopwordsFile.insert(newItem);
    
            // Verify the item was added
            boolean found = false;
            for (StopwordsItem item : stopwordsFile.stopwordsItemList) {
                if ("test".equals(item.getInput())) {
                    found = true;
                    break;
                }
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/ServerResponseValidator.java

         *
         * @param size the message size
         * @param isSmb1 whether this is SMB1 protocol
         * @throws SmbException if size is invalid
         */
        public void validateMessageSize(int size, boolean isSmb1) throws SmbException {
            totalValidations.incrementAndGet();
    
            if (size < MIN_SMB_HEADER_SIZE) {
                failedValidations.incrementAndGet();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/arch/arm64.go

    func IsARM64CASP(op obj.As) bool {
    	switch op {
    	case arm64.ACASPD, arm64.ACASPW:
    		return true
    	}
    	return false
    }
    
    // ARM64Suffix handles the special suffix for the ARM64.
    // It returns a boolean to indicate success; failure means
    // cond was unrecognized.
    func ARM64Suffix(prog *obj.Prog, cond string) bool {
    	if cond == "" {
    		return true
    	}
    	bits, ok := parseARM64Suffix(cond)
    	if !ok {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 14 15:13:11 UTC 2025
    - 10.3K bytes
    - Viewed (0)
Back to top