Search Options

Results per page
Sort
Preferred Languages
Advance

Results 981 - 990 of 1,622 for Contains (0.04 sec)

  1. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

    import java.util.concurrent.atomic.AtomicReferenceFieldUpdater;
    import java.util.concurrent.locks.LockSupport;
    import org.jspecify.annotations.Nullable;
    import sun.misc.Unsafe;
    
    /** Supertype of {@link AbstractFuture} that contains platform-specific functionality. */
    // Whenever both tests are cheap and functional, it's faster to use &, | instead of &&, ||
    @SuppressWarnings("ShortCircuitBoolean")
    @GwtCompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

         *
         * Our solution is for threads to CAS seenExceptionsField from null to a Set populated with _the
         * initial exception_, no matter which thread does the work. This ensures that
         * seenExceptionsField always contains not just the current thread's exception but also the
         * initial thread's.
         */
        Set<Throwable> seenExceptionsLocal = seenExceptionsField;
        if (seenExceptionsLocal == null) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/endtoend_test.go

    		f := strings.Fields(string(buf))
    
    		// Turn relative (PC) into absolute (PC) automatically,
    		// so that most branch instructions don't need comments
    		// giving the absolute form.
    		if len(f) > 0 && strings.Contains(printed, "(PC)") {
    			index := len(f) - 1
    			suf := "(PC)"
    			for !strings.HasSuffix(f[index], suf) {
    				index--
    				suf = "(PC),"
    			}
    			str := f[index]
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Mar 26 01:02:50 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/BiMap.java

       * @param value the value to be associated with the specified key
       * @return the value that was previously associated with the key, or {@code null} if there was no
       *     previous entry. (If the bimap contains null values, then {@code forcePut}, like {@code
       *     put}, returns {@code null} both if the key is absent and if it is present with a null
       *     value.)
       */
      @CanIgnoreReturnValue
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/DosErrorTest.java

                assertEquals(2, pair.length, "row " + i + " must be [dos, ntstatus]");
            }
        }
    
        @Test
        @DisplayName("Messages: array is present and contains expected first entries")
        void dosErrorMessagesContainsExpectedTexts() {
            // Arrange & Act
            String[] msgs = DosError.DOS_ERROR_MESSAGES;
    
            // Assert
            assertNotNull(msgs);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/context/SingletonContextTest.java

        @Test
        void testRegisterSmbURLHandlerWhenPkgsAlreadyContainsJcifs() {
            // Test registerSmbURLHandler when java.protocol.handler.pkgs already contains "jcifs"
            System.setProperty("java.protocol.handler.pkgs", "com.example|jcifs|org.test");
            SingletonContext.registerSmbURLHandler();
            assertEquals("com.example|jcifs|org.test", System.getProperty("java.protocol.handler.pkgs"));
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertTrue(Iterators.contains(set, "b"));
      }
    
      public void test_contains_nonnull_no() {
        Iterator<String> set = asList("a", "b").iterator();
        assertFalse(Iterators.contains(set, "c"));
      }
    
      public void test_contains_null_yes() {
        Iterator<@Nullable String> set = Arrays.<@Nullable String>asList("a", null, "b").iterator();
        assertTrue(Iterators.contains(set, null));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 54.4K bytes
    - Viewed (0)
  8. cmd/admin-handlers-users_test.go

    	if err == nil {
    		c.Fatalf("invalid policy created successfully")
    	}
    
    	infoStr := string(info)
    	if !strings.Contains(infoStr, `"s3:PutObject"`) || !strings.Contains(infoStr, ":"+bucket+"/") {
    		c.Fatalf("policy contains unexpected content!")
    	}
    }
    
    func (s *TestSuiteIAM) TestGroupAddRemove(c *check) {
    	ctx, cancel := context.WithTimeout(context.Background(), testDefaultTimeout)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleManagerTest.java

            @Override
            public boolean removeRule(Rule rule) {
                return rules.remove(rule);
            }
    
            @Override
            public boolean hasRule(Rule rule) {
                return rules.contains(rule);
            }
    
            public int getRuleCount() {
                return rules.size();
            }
    
            public int getGetRuleCallCount() {
                return getRuleCallCount;
            }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 23.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertTrue(Iterators.contains(set, "b"));
      }
    
      public void test_contains_nonnull_no() {
        Iterator<String> set = asList("a", "b").iterator();
        assertFalse(Iterators.contains(set, "c"));
      }
    
      public void test_contains_null_yes() {
        Iterator<@Nullable String> set = Arrays.<@Nullable String>asList("a", null, "b").iterator();
        assertTrue(Iterators.contains(set, null));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 54.4K bytes
    - Viewed (0)
Back to top