Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2201 - 2210 of 4,556 for true (0.04 seconds)

  1. android/guava-tests/test/com/google/common/xml/XmlEscapersTest.java

      }
    
      public void testXmlAttributeEscaper() throws Exception {
        CharEscaper xmlAttributeEscaper = (CharEscaper) XmlEscapers.xmlAttributeEscaper();
        assertBasicXmlEscaper(xmlAttributeEscaper, true, true);
        // Test quotes are escaped.
        assertThat(xmlAttributeEscaper.escape("\"test\"")).isEqualTo(""test"");
        assertThat(xmlAttributeEscaper.escape("'test'")).isEqualTo("'test'");
        // Test all escapes
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 5K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/io/LittleEndianDataOutputStreamTest.java

      public void testWriteLittleEndian() throws IOException {
    
        /* Write out various test values in LITTLE ENDIAN FORMAT */
        out.write(new byte[] {-100, 100});
        out.writeBoolean(true);
        out.writeBoolean(false);
        out.writeByte(100);
        out.writeByte(-100);
        out.writeByte((byte) 200);
        out.writeChar('a');
        out.writeShort((short) -30000);
        out.writeShort((short) 50000);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  3. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/LookupInvokerLoggingTest.java

            assertNull(System.getProperty(Constants.MAVEN_LOGGER_DEFAULT_LOG_LEVEL));
        }
    
        @Test
        void testVerboseOptionSetsSystemProperty() {
            MockInvokerRequest invokerRequest = new MockInvokerRequest(true); // verbose
            MockOptions options = new MockOptions(false); // not quiet
            MockSlf4jConfiguration slf4jConfiguration = new MockSlf4jConfiguration();
    
            // Simulate the logic from LookupInvoker.prepareLogging()
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Oct 08 21:10:33 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  4. internal/config/config.go

    func (kvs KVS) LookupKV(key string) (KV, bool) {
    	for _, kv := range kvs {
    		if kv.Key == key {
    			return kv, true
    		}
    	}
    	return KV{}, false
    }
    
    // Lookup - lookup a key in a list of KVS
    func (kvs KVS) Lookup(key string) (string, bool) {
    	for _, kv := range kvs {
    		if kv.Key == key {
    			return kv.Value, true
    		}
    	}
    	return "", false
    }
    
    // Config - MinIO server config structure.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 37.7K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

         *
         * @param a first char array to compare
         * @param b second char array to compare
         * @return true if arrays are equal, false otherwise
         */
        private static boolean constantTimeEquals(char[] a, char[] b) {
            if (a == null && b == null) {
                return true;
            }
            if (a == null || b == null) {
                return false;
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 30.3K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java

            this.lastAccessTime = createTime;
            this.leaseKey = leaseKey;
            this.reconnecting = false;
        }
    
        /**
         * Check if this handle has expired
         * @return true if expired
         */
        public boolean isExpired() {
            if (type == HandleType.PERSISTENT) {
                return false; // Persistent handles don't expire
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

            // When
            request.setNotifyFlags(flags);
    
            // Then
            Field notifyFlagsField = Smb2ChangeNotifyRequest.class.getDeclaredField("notifyFlags");
            notifyFlagsField.setAccessible(true);
            assertEquals(flags, notifyFlagsField.getInt(request));
        }
    
        @Test
        @DisplayName("Should set completion filter correctly")
        void testSetCompletionFilter() throws Exception {
            // Given
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.1K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/helper/IntervalControlHelperTest.java

            // Test setting to false
            helper.setCrawlerRunning(false);
            assertFalse(helper.isCrawlerRunning());
    
            // Test setting back to true
            helper.setCrawlerRunning(true);
            assertTrue(helper.isCrawlerRunning());
        }
    
        @Test
        public void test_setCrawlerWaitMillis() {
            IntervalControlHelper helper = new IntervalControlHelper();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  9. build-tools-internal/src/main/groovy/elasticsearch.authenticated-testclusters.gradle

        systemProperty 'tests.rest.cluster.username', clusterCredentials.username
        systemProperty 'tests.rest.cluster.password', clusterCredentials.password
    }
    
    testClusters.all {
        setting 'xpack.security.enabled', 'true'
        setting 'xpack.license.self_generated.type', 'trial'
        user clusterCredentials
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 20 11:25:54 GMT 2021
    - 1.1K bytes
    - Click Count (0)
  10. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

      }
    
      @SuppressLint("NewApi")
      private fun ExtensionContext.isFlaky(): Boolean =
        (testMethod.orElseGet { null }?.isAnnotationPresent(Flaky::class.java) == true) ||
          (testClass.orElseGet { null }?.isAnnotationPresent(Flaky::class.java) == true)
    
      @Synchronized private fun logEvents() {
        // Will be ineffective if test overrides the listener
        synchronized(clientEventsList) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 10.8K bytes
    - Click Count (0)
Back to Top