Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 3,393 for False (0.03 sec)

  1. src/test/java/jcifs/dcerpc/UnicodeStringTest.java

            assertNull(unicodeStringTrue.buffer, "Buffer should be null for empty string");
    
            // Test with zterm = false
            UnicodeString unicodeStringFalse = new UnicodeString(false);
            assertFalse(unicodeStringFalse.zterm, "zterm should be false");
            assertEquals(0, unicodeStringFalse.length, "Length should be 0 for empty string");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/MessageDeflaterInflaterTest.kt

       */
      @Test fun `inflate returns finished before bytesRead reaches input length`() {
        val inflater = MessageInflater(false)
        val message = "53621260020000".decodeHex()
        assertThat(inflater.inflate(message)).isEqualTo("22021002".decodeHex())
      }
    
      @Test fun `deflate golden value`() {
        val deflater = MessageDeflater(false)
        val deflated = deflater.deflate("Hello deflate!".encodeUtf8())
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Sep 21 06:26:07 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/arch/arm.go

    			bits = (bits &^ arm.C_SCOND) | b
    			continue
    		}
    		return 0, false
    	}
    	return bits, true
    }
    
    func armRegisterNumber(name string, n int16) (int16, bool) {
    	if n < 0 || 15 < n {
    		return 0, false
    	}
    	switch name {
    	case "R":
    		return arm.REG_R0 + n, true
    	case "F":
    		return arm.REG_F0 + n, true
    	}
    	return 0, false
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Wed Oct 23 15:18:14 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. cmd/bucket-replication-utils_test.go

    		expErr: nil,
    		expDsc: ReplicateDecision{
    			targetsMap: map[string]replicateTargetDecision{
    				"arn:minio:replication::id:bucket":  newReplicateTargetDecision("arn:minio:replication::id:bucket", true, false),
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java

      }
    
      public void testIsFair() {
        assertTrue(new Monitor(true).isFair());
        assertFalse(new Monitor(false).isFair());
      }
    
      public void testOccupiedMethods() {
        Monitor monitor = new Monitor();
        verifyOccupiedMethodsInCurrentThread(monitor, false, false, 0);
        verifyOccupiedMethodsInAnotherThread(monitor, false, false, 0);
        monitor.enter();
        try {
          verifyOccupiedMethodsInCurrentThread(monitor, true, true, 1);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java

      }
    
      public void testIsFair() {
        assertTrue(new Monitor(true).isFair());
        assertFalse(new Monitor(false).isFair());
      }
    
      public void testOccupiedMethods() {
        Monitor monitor = new Monitor();
        verifyOccupiedMethodsInCurrentThread(monitor, false, false, 0);
        verifyOccupiedMethodsInAnotherThread(monitor, false, false, 0);
        monitor.enter();
        try {
          verifyOccupiedMethodsInCurrentThread(monitor, true, true, 1);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 5K bytes
    - Viewed (0)
  7. tensorflow/c/c_test_util.cc

      if (node_def.op() != "Placeholder" || node_def.name() != "feed") {
        return false;
      }
      bool found_dtype = false;
      bool found_shape = false;
      for (const auto& attr : node_def.attr()) {
        if (attr.first == "dtype") {
          if (attr.second.type() == tensorflow::DT_INT32) {
            found_dtype = true;
          } else {
            return false;
          }
        } else if (attr.first == "shape") {
          found_shape = true;
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Sat Oct 04 05:55:32 UTC 2025
    - 17.8K bytes
    - Viewed (1)
  8. guava-tests/test/com/google/common/base/PredicatesTest.java

        assertEvalsLikeOdd(Predicates.or(isOdd(), FALSE, FALSE));
        assertEvalsLikeOdd(Predicates.or(FALSE, isOdd(), FALSE));
        assertEvalsLikeOdd(Predicates.or(FALSE, FALSE, isOdd()));
        assertEvalsToTrue(Predicates.or(FALSE, TRUE, NEVER_REACHED));
      }
    
      public void testOr_equalityTernary() {
        new EqualsTester()
            .addEqualityGroup(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 32.3K bytes
    - Viewed (0)
  9. fastapi/_compat/shared.py

        except TypeError:  # pragma: no cover
            if isinstance(cls, WithArgsTypes):
                return False
            raise  # pragma: no cover
    
    
    def _annotation_is_sequence(annotation: Union[type[Any], None]) -> bool:
        if lenient_issubclass(annotation, (str, bytes)):
            return False
        return lenient_issubclass(annotation, sequence_types)
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbFileHandleImplTest.java

        void isValid_true_whenOpenSameTreeConnected() {
            when(cfg.isTraceResourceUsage()).thenReturn(false);
            stubValidTree(99L, true, true);
            SmbFileHandleImpl h = new SmbFileHandleImpl(cfg, 1, tree, "//server/share", 0, 0, 0, 0, 0L);
            assertTrue(h.isValid());
        }
    
        @Test
        @DisplayName("isValid() false when tree id changed or disconnected or closed")
        void isValid_false_inVariousCases() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
Back to top