Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3331 - 3340 of 4,689 for nulls (0.03 seconds)

  1. tests/test_openapi_schema_type.py

    import pytest
    from fastapi.openapi.models import Schema, SchemaType
    
    
    @pytest.mark.parametrize(
        "type_value",
        [
            "array",
            ["string", "null"],
            None,
        ],
    )
    def test_allowed_schema_type(
        type_value: SchemaType | list[SchemaType] | None,
    ) -> None:
        """Test that Schema accepts SchemaType, List[SchemaType] and None for type field."""
        schema = Schema(type=type_value)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 685 bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/io/ByteStreamsTest.java

      public void testReadFully() throws IOException {
        byte[] b = new byte[10];
    
        assertThrows(
            NullPointerException.class, () -> ByteStreams.readFully(newTestStream(10), null, 0, 10));
    
        assertThrows(NullPointerException.class, () -> ByteStreams.readFully(null, b, 0, 10));
    
        assertThrows(
            IndexOutOfBoundsException.class, () -> ByteStreams.readFully(newTestStream(10), b, -1, 10));
    
        assertThrows(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 22K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/dict/DictionaryCreator.java

         * @param timestamp the timestamp of the dictionary file
         * @return a DictionaryFile instance if the path matches, null otherwise
         */
        public DictionaryFile<? extends DictionaryItem> create(final String path, final Date timestamp) {
            if (!isTarget(path)) {
                return null;
            }
    
            return newDictionaryFile(encodePath(path), path, timestamp);
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/it/admin/BadWordTests.java

            assertEquals(200, response.getStatusCode());
            String body = response.getBody().asString();
            assertTrue(body != null, "CSV response should not be null");
            // CSV should contain the test data
            assertTrue(body.contains(NAME_PREFIX) || body.isEmpty(), "CSV should contain test data or be empty");
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 03:03:44 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/it/admin/ElevateWordTests.java

            assertEquals(200, response.getStatusCode());
            String body = response.getBody().asString();
            assertTrue(body != null, "CSV response should not be null");
        }
    
        @Test
        void testUploadCsv_ok() {
            // Create CSV content with format: suggest_word,reading,boost
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 03:03:44 GMT 2025
    - 4K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/ExchangeCodec.kt

      fun finishRequest()
    
      /**
       * Parses bytes of a response header from an HTTP transport.
       *
       * @param expectContinue true to return null if this is an intermediate response with a "100"
       * response code. Otherwise this method never returns null.
       */
      @Throws(IOException::class)
      fun readResponseHeaders(expectContinue: Boolean): Response.Builder?
    
      @Throws(IOException::class)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jul 29 21:11:09 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/collect/ImmutableBiMapFloodingTest.java

            Map<Object, Object> sourceMap = new LinkedHashMap<>();
            for (Entry<?, ?> entry : entries) {
              if (sourceMap.put(entry.getKey(), entry.getValue()) != null) {
                throw new UnsupportedOperationException("duplicate key");
              }
            }
            return ImmutableBiMap.copyOf(sourceMap);
          }
        },
        COPY_OF_ENTRIES {
          @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jul 28 19:11:14 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponse.java

            // bufferIndex = bufferOffset;
    
            final List<FileEntry> infos = new ArrayList<>();
            do {
                final FileBothDirectoryInfo cur = createFileInfo();
                if (cur == null) {
                    break;
                }
                cur.decode(buffer, bufferIndex, bufferLength);
                infos.add(cur);
                final int nextEntryOffset = cur.getNextEntryOffset();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/dataconfig/ApiAdminDataconfigAction.java

                throwValidationErrorApi(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, id));
                return null;
            })).status(Status.OK).result());
        }
    
        /**
         * Creates a new data config setting.
         *
         * @param body the request body containing data config information
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

         * started first.
         */
        reference =
            new FinalizableWeakReference<Object>(new Object(), frq) {
              @Override
              public void finalizeReferent() {
                reference = null;
                frq = null;
              }
            };
      }
    
      @AndroidIncompatible
      @Test
      public void testDecoupledLoader() {
        FinalizableReferenceQueue.DecoupledLoader decoupledLoader =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Feb 27 21:20:19 GMT 2026
    - 8.6K bytes
    - Click Count (0)
Back to Top