Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 1,622 for Contains (0.04 sec)

  1. guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java

        public boolean isEmpty() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.isEmpty();
        }
    
        @Override
        public boolean contains(Object object) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.contains(object);
        }
    
        @Override
        public boolean add(E element) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.add(element);
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

        }
    
        @Override
        public boolean contains(@Nullable Object o) {
          if (o == null) {
            return false;
          }
          try {
            @SuppressWarnings("unchecked") // we catch CCE's
            C c = (C) o;
            return ImmutableRangeSet.this.contains(c);
          } catch (ClassCastException e) {
            return false;
          }
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 27.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

            SmbUnsupportedOperationException ex =
                    assertThrows(SmbUnsupportedOperationException.class, () -> auth.createContext(tc, null, "SERVER", new byte[0], false));
            assertTrue(ex.getMessage().contains("Cannot use netbios/short names"));
        }
    
        @Test
        @DisplayName("createContext: no Kerberos in initial token and no fallback -> throws")
        void createContext_noKerberosNoFallback_throws() throws CIFSException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

        return ObjectArrays.toArrayImpl(this, other);
      }
    
      @Override
      public boolean contains(@Nullable Object object) {
        try {
          // This set never contains null.  We need to explicitly check here
          // because some comparator might throw NPE (e.g. the natural ordering).
          return object != null && sortedDelegate.contains(object);
        } catch (ClassCastException e) {
          return false;
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  5. cmd/object-api-utils_test.go

    		// passing invalid bucket names.
    		{"------", false},
    		{"my..bucket", false},
    		{"192.168.1.1", false},
    		{"$this-is-not-valid-too", false},
    		{"contains-$-dollar", false},
    		{"contains-^-caret", false},
    		{"contains-$-dollar", false},
    		{"contains-$-dollar", false},
    		{"......", false},
    		{"", false},
    		{"a", false},
    		{"ab", false},
    		{".starts-with-a-dot", false},
    		{"ends-with-a-dot.", false},
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

        }
      }
    
      /**
       * Returns {@code true} if this queue contains the specified element. More formally, returns
       * {@code true} if and only if this queue contains at least one element {@code e} such that {@code
       * o.equals(e)}.
       *
       * @param o object to be checked for containment in this queue
       * @return {@code true} if this queue contains the specified element
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

            // Then
            assertNotNull(str);
            assertTrue(str.contains("Smb2NegotiateResponse"));
            assertTrue(str.contains("dialectRevision="));
            assertTrue(str.contains("securityMode="));
            assertTrue(str.contains("capabilities="));
            assertTrue(str.contains("serverTime="));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/annotation/SecuredTest.java

            assertNotNull(target);
            ElementType[] targetTypes = target.value();
            assertEquals(2, targetTypes.length);
            assertTrue(Arrays.asList(targetTypes).contains(ElementType.METHOD));
            assertTrue(Arrays.asList(targetTypes).contains(ElementType.TYPE));
    
            // Check Retention annotation
            Retention retention = Secured.class.getAnnotation(Retention.class);
            assertNotNull(retention);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

            // Test the toString method
            String result = response.toString();
            assertNotNull(result);
            assertTrue(result.contains("Trans2SetFileInformationResponse"));
            assertTrue(result.contains("["));
            assertTrue(result.contains("]"));
        }
    
        @Test
        @DisplayName("Test inherited properties from SmbComTransactionResponse")
        void testInheritedProperties() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exception/LdapConfigurationExceptionTest.java

            String toStringResult = exception.toString();
            assertNotNull(toStringResult);
            assertTrue(toStringResult.contains(LdapConfigurationException.class.getName()));
            assertTrue(toStringResult.contains(message));
        }
    
        public void test_multipleInstances() {
            // Test creating multiple instances with different messages
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
Back to top