Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1881 - 1890 of 3,758 for null (0.02 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapContainsValueTester.java

        assertTrue(multimap().containsValue(null));
      }
    
      @MapFeature.Require(ALLOWS_NULL_VALUE_QUERIES)
      public void testContainsNullValueNo() {
        assertFalse(multimap().containsValue(null));
      }
    
      @MapFeature.Require(absent = ALLOWS_NULL_VALUE_QUERIES)
      public void testContainsNullValueFails() {
        assertThrows(NullPointerException.class, () -> multimap().containsValue(null));
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

       * Double#valueOf}.
       */
      private static @Nullable Double referenceTryParse(String input) {
        if (input.trim().length() < input.length()) {
          return null;
        }
        try {
          return Double.valueOf(input);
        } catch (NumberFormatException e) {
          return null;
        }
      }
    
      @GwtIncompatible // Doubles.tryParse
      private static void checkTryParse(String input) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java

         *
         * @param transport transport instance
         * @return corresponding channel or null
         */
        public ChannelInfo getChannelForTransport(SmbTransport transport) {
            return channels.values().stream().filter(c -> c.getTransport() == transport).findFirst().orElse(null);
        }
    
        /**
         * Remove a channel
         *
         * @param channel channel to remove
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 20K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

         */
        public static String createBulkLine(final String index, final String type, final SuggestItem item) {
            if (item == null || item.getId() == null || item.getText() == null) {
                throw new SuggesterException("Invalid SuggestItem: item, id, or text is null");
            }
    
            final Map<String, Object> firstLineMap = new HashMap<>();
            final Map<String, Object> firstLineInnerMap = new HashMap<>();
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/msrpc/lsarpcIntegrationTest.java

        @Test
        void testLsarDomainInfoEncodeDecodeWithNulls() throws NdrException {
            // Create a domain info with null fields
            lsarpc.LsarDomainInfo domainInfo = new lsarpc.LsarDomainInfo();
            domainInfo.name = new rpc.unicode_string();
            domainInfo.name.buffer = null;
            domainInfo.sid = null;
    
            // Encode to buffer
            byte[] buffer = new byte[1024];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/ACETest.java

        class InterfaceEdgeCaseTests {
    
            @Test
            @DisplayName("Should handle null SID from interface methods")
            void shouldHandleNullSID() {
                ACE ace = mock(ACE.class);
                when(ace.getSID()).thenReturn(null);
    
                SID result = ace.getSID();
                assertNull(result, "getSID() should return null when configured");
                verify(ace).getSID();
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  7. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerAdapter.kt

        tag: Long,
        forceConstructed: Boolean? = null,
      ): BasicDerAdapter<T> {
        val codec =
          object : BasicDerAdapter.Codec<T> {
            override fun decode(reader: DerReader): T = fromDer(reader)
    
            override fun encode(
              writer: DerWriter,
              value: T,
            ) {
              toDer(writer, value)
              if (forceConstructed != null) {
                writer.constructed = forceConstructed
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Multimaps.java

       *
       * <p>It's acceptable for the underlying multimap to contain null keys, and even null values
       * provided that the function is capable of accepting null input. The transformed multimap might
       * contain null values, if the function sometimes gives a null result.
       *
       * <p>The returned multimap is not thread-safe or serializable, even if the underlying multimap
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 86.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Multimaps.java

       *
       * <p>It's acceptable for the underlying multimap to contain null keys, and even null values
       * provided that the function is capable of accepting null input. The transformed multimap might
       * contain null values, if the function sometimes gives a null result.
       *
       * <p>The returned multimap is not thread-safe or serializable, even if the underlying multimap
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 86.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/SecureKeyManagerTest.java

            byte[] baseKey = new byte[16];
            new SecureRandom().nextBytes(baseKey);
    
            byte[] derived1 = keyManager.deriveKey(baseKey, "label1", null, 32);
            byte[] derived2 = keyManager.deriveKey(baseKey, "label2", null, 32);
            byte[] derived3 = keyManager.deriveKey(baseKey, "label1", new byte[] { 1, 2, 3 }, 32);
    
            assertEquals(32, derived1.length, "Derived key should have correct length");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
Back to top