Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 1,956 for Contains (0.26 sec)

  1. src/main/java/jcifs/ntlmssp/av/AvPairs.java

            }
            return pairs;
        }
    
        /**
         * Checks if the AV pairs list contains a pair of the specified type
         *
         * @param pairs the list of AV pairs to search
         * @param type the AV pair type to look for
         * @return whether the list contains a pair of that type
         */
        public static boolean contains(final List<AvPair> pairs, final int type) {
            if (pairs == null) {
                return false;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java

            // Assert it's an interface and extends the right superinterface
            assertTrue(clazz.isInterface(), "Should be an interface");
            assertTrue(Arrays.asList(clazz.getInterfaces()).contains(SmbResourceLocator.class), "Should extend SmbResourceLocator");
    
            // shouldForceSigning(): boolean, no params, no checked exceptions
            Method m1 = clazz.getMethod("shouldForceSigning");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/DosErrorTest.java

            assertNotNull(DosError.DOS_ERROR_CODES, "DOS_ERROR_CODES should be non‑null");
            assertTrue(DosError.DOS_ERROR_CODES.length > 0, "DOS_ERROR_CODES should contain at least one mapping");
        }
    
        @Test
        @DisplayName("Each error code mapping contains exactly two ints")
        void testEachPairLength() {
            for (int i = 0; i < DosError.DOS_ERROR_CODES.length; i++) {
                int[] pair = DosError.DOS_ERROR_CODES[i];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/netbios/NameTest.java

            Name name = new Name(mockConfig, "TEST", 0x20, "scope.com");
            String result = name.toString();
    
            assertTrue(result.contains("TEST"));
            assertTrue(result.contains("<20>"));
            assertTrue(result.contains("scope.com"));
        }
    
        @Test
        void toString_withNullName_shouldHandleGracefully() {
            Name name = new Name(mockConfig, "TEST", 0x20, null);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Tables.java

        }
    
        @Override
        public boolean contains(@Nullable Object rowKey, @Nullable Object columnKey) {
          return fromTable.contains(rowKey, columnKey);
        }
    
        @Override
        public @Nullable V2 get(@Nullable Object rowKey, @Nullable Object columnKey) {
          // The function is passed a null input only when the table contains a null
          // value.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  6. internal/http/listener_test.go

    			testCase.serverAddrs,
    			TCPOptions{},
    		)
    		for _, err := range errs {
    			if err != nil {
    				if strings.Contains(err.Error(), "The requested address is not valid in its context") {
    					// Ignore if IP is unbindable.
    					continue nextTest
    				}
    				if strings.Contains(err.Error(), "bind: address already in use") {
    					continue nextTest
    				}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/AbstractMapsTransformValuesTest.java

        assertTrue(entries.contains(immutableEntry("a", true)));
        assertTrue(entries.contains(Maps.<String, @Nullable Boolean>immutableEntry("b", null)));
        assertTrue(
            entries.contains(Maps.<@Nullable String, @Nullable Boolean>immutableEntry(null, null)));
    
        assertFalse(entries.contains(Maps.<String, @Nullable Boolean>immutableEntry("c", null)));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractor.java

         * <li>nested properties should be defined by a dot, i.e. "user.address.street"</li>
         * <li>indexed properties (java.util.List or array instance) should be contains <code>(\\w+)\\[(\\d+)\\]</code>
         * pattern, i.e. "user.addresses[1].street"</li>
         * <li>mapped properties should be contains <code>(\\w+)\\((.+)\\)</code> pattern,
         *  i.e. "user.addresses(myAddress).street"</li>
         * </ul>
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/suggest/SuggesterRefactoringTest.java

            assertNotNull("Indices list should not be null", indices);
            assertEquals("Should find exactly two indices", 2, indices.size());
            assertTrue("Should contain first index", indices.contains(index1));
            assertTrue("Should contain second index", indices.contains(index2));
    
            // Cleanup
            client.admin().indices().prepareDelete(index1, index2).execute().actionGet();
            suggester.shutdown();
        }
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

          for (int i = WARMUP_MIN; i < WARMUP_MAX; i++) {
            Object key = warmed.get(i - WARMUP_MIN).getKey();
            assertThat(keys.contains(key)).isTrue();
            assertThat(keys.remove(key)).isTrue();
            assertThat(keys.remove(key)).isFalse();
            assertThat(keys.contains(key)).isFalse();
          }
          checkEmpty(keys);
          checkEmpty(cache);
        }
      }
    
      public void testValues_populated() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 15.7K bytes
    - Viewed (0)
Back to top