Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1391 - 1400 of 1,845 for Contains (0.08 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

            String result = trans2SetFileInfo.toString();
    
            assertNotNull(result);
            assertTrue(result.contains("Trans2SetFileInformation"));
            assertTrue(result.contains("fid=" + TEST_FID));
        }
    
        @Test
        @DisplayName("Test with FileBasicInfo")
        void testWithFileBasicInfo() {
            // Create FileBasicInfo instance
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  2. tests/lru_test.go

    	v, ok := lc.Peek("key1")
    	if v != "val1" {
    		t.Fatalf("value differs from expected")
    	}
    	if !ok {
    		t.Fatalf("should be true")
    	}
    
    	if !lc.Contains("key1") {
    		t.Fatalf("should contain key1")
    	}
    	if lc.Contains("key2") {
    		t.Fatalf("should not contain key2")
    	}
    
    	v, ok = lc.Peek("key2")
    	if v != "" {
    		t.Fatalf("should be empty")
    	}
    	if ok {
    		t.Fatalf("should be false")
    	}
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Sep 08 09:19:22 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/net/HttpHeadersTest.java

          return specialCases.get(constantName);
        }
        List<String> parts = new ArrayList<>();
        for (String part : Splitter.on('_').split(constantName)) {
          if (!uppercaseAcronyms.contains(part)) {
            part = part.charAt(0) + Ascii.toLowerCase(part.substring(1));
          }
          parts.add(part);
        }
        return Joiner.on('-').join(parts);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 20:10:09 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  4. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/precommit/LicenseHeadersPrecommitPluginFuncTest.groovy

            assertOutputContains(result.output, "./src/main/java/org/acme/UnknownLicensed.java")
            assertOutputContains(result.output, "./src/main/java/org/acme/UnapprovedLicensed.java")
            result.output.contains("./src/main/java/org/acme/DualLicensed.java") == false
        }
    
        def "can filter source files"() {
            given:
            buildFile << """
            plugins {
                id 'java'
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 03 10:22:28 GMT 2021
    - 4.1K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/filter/LoadControlFilter.java

                return true;
            }
            final int dotIndex = path.lastIndexOf('.');
            if (dotIndex >= 0) {
                final String extension = path.substring(dotIndex);
                return STATIC_EXTENSIONS.contains(extension);
            }
            return false;
        }
    
        /**
         * Sends a 429 JSON response for API requests.
         * @param response the HTTP response
         * @throws IOException if an I/O error occurs
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Tue Feb 10 04:24:02 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/exec/SuggestCreatorTest.java

            options.sessionId = null;
            options.propertiesPath = null;
    
            String result = options.toString();
            assertTrue(result.contains("sessionId=null"));
            assertTrue(result.contains("propertiesPath=null"));
        }
    
        // Test Options toString method
        @Test
        public void test_Options_toString() {
            SuggestCreator.Options options = new SuggestCreator.Options();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

          Ordering.natural()
              .onResultOf((List<Class<?>> params) -> params.contains(String.class))
              .compound(
                  Ordering.natural()
                      .onResultOf((List<Class<?>> params) -> params.contains(Throwable.class)))
              .reverse();
      private static final Ordering<Constructor<?>> WITH_STRING_PARAM_THEN_WITH_THROWABLE_PARAM =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  8. cmd/notification.go

    	"github.com/minio/pkg/v3/sync/errgroup"
    	"github.com/minio/pkg/v3/workers"
    
    	"github.com/minio/minio/internal/bucket/bandwidth"
    	"github.com/minio/minio/internal/logger"
    )
    
    // This file contains peer related notifications. For sending notifications to
    // external systems, see event-notification.go
    
    // NotificationSys - notification system.
    type NotificationSys struct {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 46K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/core/collection/CollectionsUtil.java

        }
    
        /**
         * Associates the specified value with the specified key in the map if the map does not already contain the key.
         * <p>
         * If the map already contains the key, the value associated with the key is returned and the map is unchanged.
         * If the map does not contain the key, the specified value is associated with the key and the value is returned.
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 49.9K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/ImmutableRangeMap.java

                KeyPresentBehavior.ANY_PRESENT,
                KeyAbsentBehavior.NEXT_LOWER);
        if (index == -1) {
          return null;
        } else {
          Range<K> range = ranges.get(index);
          return range.contains(key) ? values.get(index) : null;
        }
      }
    
      @Override
      public @Nullable Entry<Range<K>, V> getEntry(K key) {
        int index =
            SortedLists.binarySearch(
                ranges,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 14.8K bytes
    - Click Count (0)
Back to Top