Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 498 for true (0.16 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

            !"TE".equals(fieldName, ignoreCase = true) &&
            !"Trailers".equals(fieldName, ignoreCase = true) &&
            !"Transfer-Encoding".equals(fieldName, ignoreCase = true) &&
            !"Upgrade".equals(fieldName, ignoreCase = true)
        }
    
        /**
         * Returns true if [fieldName] is content specific and therefore should always be used
         * from cached headers.
         */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Mar 22 07:09:21 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/lang/StringUtilTest.java

            assertEquals("3", true, StringUtil.isNotBlank("a"));
            assertEquals("4", true, StringUtil.isNotBlank(" a "));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testContains() throws Exception {
            assertEquals("1", true, StringUtil.contains("a", 'a'));
            assertEquals("2", true, StringUtil.contains("abc", 'b'));
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 12K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/collection/ArrayUtilTest.java

            assertThat(ArrayUtil.contains(new Object[] { "1" }, "1"), is(true));
            assertThat(ArrayUtil.contains(new Object[] { "1" }, "2"), is(not(true)));
            assertThat(ArrayUtil.contains(new Object[] { "2", "1" }, "1"), is(true));
            assertThat(ArrayUtil.contains((Object[]) null, "1"), is(not(true)));
            assertThat(ArrayUtil.contains((Object[]) null, null), is(not(true)));
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  4. src/bytes/example_test.go

    	// Output:
    	// true
    	// false
    	// true
    	// true
    }
    
    func ExampleContainsAny() {
    	fmt.Println(bytes.ContainsAny([]byte("I like seafood."), "fÄo!"))
    	fmt.Println(bytes.ContainsAny([]byte("I like seafood."), "去是伟大的."))
    	fmt.Println(bytes.ContainsAny([]byte("I like seafood."), ""))
    	fmt.Println(bytes.ContainsAny([]byte(""), ""))
    	// Output:
    	// true
    	// true
    	// false
    	// false
    }
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 15:54:40 GMT 2024
    - 15K bytes
    - Viewed (1)
  5. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

            assertThat(map.isEmpty(), is(not(true)));
            map.clear();
            assertThat(map.isEmpty(), is(true));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testContainsValue() throws Exception {
            assertThat(map.containsValue("test2"), is(true));
            assertThat(map.containsValue("test3"), is(not(true)));
        }
    
        /**
         * @throws Exception
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/beans/impl/BeanDescImplTest.java

            assertThat(beanDesc.hasFieldDesc("HOGE"), is(true));
            final FieldDesc fieldDesc = beanDesc.getFieldDesc("HOGE");
            assertThat(fieldDesc.getFieldName(), is("HOGE"));
            assertThat(beanDesc.hasFieldDesc("aaa"), is(true));
            assertThat(beanDesc.hasFieldDesc("aaA"), is(not(true)));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 13.9K bytes
    - Viewed (0)
  7. cmd/metacache-entries.go

    	} else if err != nil {
    		return true
    	}
    	// Fall back...
    	xlMeta, err := e.xlmeta()
    	if err != nil || len(xlMeta.versions) == 0 {
    		return true
    	}
    	return xlMeta.versions[0].header.Type == DeleteType
    }
    
    // isAllFreeVersions returns if all objects are free versions.
    // If metadata is NOT versioned false will always be returned.
    // If v2 and UNABLE to load metadata true will be returned.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/BooleansTest.java

        testRotate(new boolean[] {true, false, true}, -4, new boolean[] {false, true, true});
        testRotate(new boolean[] {true, false, true}, -3, new boolean[] {true, false, true});
        testRotate(new boolean[] {true, false, true}, -2, new boolean[] {true, true, false});
        testRotate(new boolean[] {true, false, true}, -1, new boolean[] {false, true, true});
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 15:43:29 GMT 2024
    - 23.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/BooleansTest.java

        testRotate(new boolean[] {true, false, true}, -4, new boolean[] {false, true, true});
        testRotate(new boolean[] {true, false, true}, -3, new boolean[] {true, false, true});
        testRotate(new boolean[] {true, false, true}, -2, new boolean[] {true, true, false});
        testRotate(new boolean[] {true, false, true}, -1, new boolean[] {false, true, true});
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 15:43:29 GMT 2024
    - 23.9K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnection.kt

      /**
       * If true, no new exchanges can be created on this connection. It is necessary to set this to
       * true when removing a connection from the pool; otherwise a racing caller might get it from the
       * pool when it shouldn't. Symmetrically, this must always be checked before returning a
       * connection from the pool.
       *
       * Once true this is always true. Guarded by this.
       */
      var noNewExchanges = false
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 15.4K bytes
    - Viewed (0)
Back to top