Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3111 - 3120 of 3,695 for nulls (0.03 sec)

  1. okhttp/src/test/java/okhttp3/HeadersJvmTest.kt

      }
    
      // Fails on JS, ClassCastException: Illegal cast
      @Test fun ofMapThrowsOnNull() {
        assertFailsWith<NullPointerException> {
          (mapOf("User-Agent" to null) as Map<String, String>).toHeaders()
        }
      }
    
      @Test fun toMultimapGroupsHeaders() {
        val headers =
          Headers.headersOf(
            "cache-control",
            "no-cache",
            "cache-control",
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/FunnelsTest.java

              @Override
              protected void process(ByteBuffer bb) {
                while (bb.hasRemaining()) {
                  bb.get();
                }
              }
            };
        try {
          funnel.funnel(null, primitiveSink);
          fail();
        } catch (NullPointerException ok) {
        }
      }
    
      public void testAsOutputStream() throws Exception {
        PrimitiveSink sink = mock(PrimitiveSink.class);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/DcerpcMessage.java

        /**
         * 
         * @return result exception, if the call failed
         */
        public DcerpcException getResult () {
            if ( this.result != 0 )
                return new DcerpcException(this.result);
            return null;
        }
    
    
        void encode_header ( NdrBuffer buf ) {
            buf.enc_ndr_small(5); /* RPC version */
            buf.enc_ndr_small(0); /* minor version */
            buf.enc_ndr_small(this.ptype);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Enums.java

          Class<T> enumClass) {
        synchronized (enumConstantCache) {
          Map<String, WeakReference<? extends Enum<?>>> constants = enumConstantCache.get(enumClass);
          if (constants == null) {
            constants = populateCache(enumClass);
          }
          return constants;
        }
      }
    
      /**
       * Returns a serializable converter that converts between strings and {@code enum} values of type
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 26 11:56:44 UTC 2023
    - 5K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/ClassDoc.groovy

        void addClassExtension(ClassExtensionDoc extensionDoc) {
            classExtensions.add(extensionDoc)
        }
    
        List<ClassDoc> getSuperTypes() {
            return superClass == null ? interfaces : [superClass] + interfaces
        }
    
        Element getClassSection() { return classSection }
    
        Element getPropertiesTable() { return propertiesTable }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.2K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/SimpleLookup.java

                    .findAny()
                    .orElseThrow(() -> new LookupException("No service of type " + type));
        }
    
        @Override
        public <T> T lookup(Class<T> type, String name) {
            return null;
        }
    
        @Override
        public <T> Optional<T> lookupOptional(Class<T> type) {
            return Optional.empty();
        }
    
        @Override
        public <T> Optional<T> lookupOptional(Class<T> type, String name) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_response_model/test_tutorial004.py

                            "description": IsDict(
                                {
                                    "title": "Description",
                                    "anyOf": [{"type": "string"}, {"type": "null"}],
                                }
                            )
                            | IsDict(
                                # TODO: remove when deprecating Pydantic v1
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 04 20:47:07 UTC 2023
    - 5K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_separate_openapi_schemas/test_tutorial002_py310.py

                        "properties": {
                            "name": {"type": "string", "title": "Name"},
                            "description": {
                                "anyOf": [{"type": "string"}, {"type": "null"}],
                                "title": "Description",
                            },
                        },
                        "type": "object",
                        "required": ["name"],
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 25 19:10:22 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/client/CrawlerEngineClient.java

            if (StringUtil.isNotBlank(authorities)) {
                builder.put("http.ssl.certificate_authorities", authorities);
            }
            return new HttpClient(builder.build(), null);
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/it/admin/dict/ProtwordsTests.java

            requestBody.put(KEY_PROPERTY, keyProp);
            return requestBody;
        }
    
        @Override
        protected Map<String, Object> getUpdateMap() {
            fail(); // Unreachable
            return null;
        }
    
        @Test
        void crudTest() {
            testCreate();
            testRead();
            testDelete();
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top