Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2231 - 2240 of 3,735 for Null (0.02 sec)

  1. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidLog.kt

          }.toMap()
    
      internal fun androidLog(
        loggerName: String,
        logLevel: Int,
        message: String,
        t: Throwable? = null,
      ) {
        val tag = loggerTag(loggerName)
    
        if (Log.isLoggable(tag, logLevel)) {
          var logMessage = message
          if (t != null) logMessage = logMessage + '\n'.toString() + Log.getStackTraceString(t)
    
          // Split by line, then ensure each line can fit into Log's maximum length.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 22 20:03:31 UTC 2025
    - 4K bytes
    - Viewed (0)
  2. okhttp-idna-mapping-table/src/test/kotlin/okhttp3/internal/idn/MappingTablesTest.kt

            ),
          ),
        ).isEqualTo(null)
      }
    
      @Test fun inlineDeltaOrNullMultipleMappedToCodePoints() {
        assertThat(
          inlineDeltaOrNull(
            mappingOf(
              sourceCodePoint0 = 1,
              sourceCodePoint1 = 1,
              mappedToCodePoints = listOf(2, 3),
            ),
          ),
        ).isEqualTo(null)
      }
    
      @Test fun inlineDeltaOrNullMaxCodepointDelta() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/FileEntryTest.java

        }
    
        @Nested
        @DisplayName("Edge case values")
        class EdgeCases {
    
            @Test
            @DisplayName("Null name is allowed via mock")
            void nullName() {
                FileEntry mock = mock(FileEntry.class);
                when(mock.getName()).thenReturn(null);
                assertNull(mock.getName());
            }
    
            @Test
            @DisplayName("Negative length is allowed via mock")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/ClientAuthTest.kt

        return try {
          val keyManager =
            newKeyManager(
              null,
              serverCert,
              serverIntermediateCa.certificate,
            )
          val trustManager =
            newTrustManager(
              null,
              Arrays.asList(serverRootCa.certificate, clientRootCa.certificate),
              emptyList(),
            )
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlXpathExtractor.java

         * java.util.Map)
         */
        @Override
        public ExtractData getText(final InputStream in, final Map<String, String> params) {
            if (in == null) {
                throw new CrawlerSystemException("The inputstream is null.");
            }
            try {
                final BufferedInputStream bis = new BufferedInputStream(in);
                final String enc = getEncoding(bis);
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/curl/CurlResponseTest.java

            Map<String, List<String>> headers = new HashMap<>();
            headers.put(null, Arrays.asList("value"));
            headers.put("Content-Type", Arrays.asList("application/json"));
    
            response.setHeaders(headers);
    
            Map<String, List<String>> result = response.getHeaders();
            assertNotNull(result);
            assertEquals(1, result.size()); // null key should be filtered out
            assertTrue(result.containsKey("content-type"));
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. 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)
  8. guava/src/com/google/common/hash/ChecksumHashFunction.java

        @IgnoreJRERequirement // https://github.com/mojohaus/animal-sniffer/issues/67
        static boolean updateByteBuffer(Checksum cs, ByteBuffer bb) {
          if (UPDATE_BB != null) {
            try {
              UPDATE_BB.invokeExact(cs, bb);
            } catch (Throwable e) {
              // `update` has no `throws` clause.
              sneakyThrow(e);
            }
            return true;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXResponse.java

        private String primaryDomain = "";
    
        private boolean isLoggedInAsGuest;
        private byte[] blob = null;
    
        /**
         * Constructs a session setup AndX response.
         *
         * @param config the configuration to use
         * @param andx the next command in the AndX chain, or null
         */
        public SmbComSessionSetupAndXResponse(final Configuration config, final ServerMessageBlock andx) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java

                FileInfo existing = children.get(childName);
                FileInfo newInfo = new FileInfo(childName, size, lastModified, isDirectory, attributes, creationTime, lastAccessTime);
    
                if (existing == null || !existing.matches(size, lastModified, attributes)) {
                    children.put(childName, newInfo);
                    hasChanges = true;
                    lastUpdateTime = System.currentTimeMillis();
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 11.4K bytes
    - Viewed (0)
Back to top