Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1451 - 1460 of 3,758 for null (0.03 sec)

  1. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

       * Returns an arbitrary instance for {@code type}, or {@code null} if no arbitrary instance can be
       * determined.
       */
      public static <T> @Nullable T get(Class<T> type) {
        T defaultValue = DEFAULTS.getInstance(type);
        if (defaultValue != null) {
          return defaultValue;
        }
        Class<? extends T> implementation = getImplementation(type);
        if (implementation != null) {
          return get(implementation);
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

         * @param context the create context to add
         */
        public void addCreateContext(CreateContextRequest context) {
            if (context == null) {
                return;
            }
            if (this.createContexts == null) {
                this.createContexts = new CreateContextRequest[] { context };
            } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  3. docs/features/https.md

          init {
            val trustManager = trustManagerForCertificates(trustedCertificatesInputStream())
            val sslContext = SSLContext.getInstance("TLS")
            sslContext.init(null, arrayOf<TrustManager>(trustManager), null)
            val sslSocketFactory = sslContext.socketFactory
    
            client = OkHttpClient.Builder()
                .sslSocketFactory(sslSocketFactory, trustManager)
                .build()
          }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Dec 24 00:16:30 UTC 2022
    - 10.5K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformToAsciiData.kt

     *
     * Each test is a line of the file `toascii.json`.
     */
    @Serializable
    class WebPlatformToAsciiData {
      var input: String? = null
      var output: String? = null
      var comment: String? = null
    
      override fun toString() = "input=$input output=$output"
    
      companion object {
        fun load(): List<WebPlatformToAsciiData> {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/escape/UnicodeEscaper.java

          }
          // It is possible for this to return null because nextEscapeIndex() may
          // (for performance reasons) yield some false positives but it must never
          // give false negatives.
          char[] escaped = escape(cp);
          int nextIndex = index + (Character.isSupplementaryCodePoint(cp) ? 2 : 1);
          if (escaped != null) {
            int charsSkipped = index - unescapedChunkStart;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/escape/UnicodeEscaper.java

          }
          // It is possible for this to return null because nextEscapeIndex() may
          // (for performance reasons) yield some false positives but it must never
          // give false negatives.
          char[] escaped = escape(cp);
          int nextIndex = index + (Character.isSupplementaryCodePoint(cp) ? 2 : 1);
          if (escaped != null) {
            int charsSkipped = index - unescapedChunkStart;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelSource.java

             * </ul>
             *
             * @param project the path to search for a POM file
             * @return the path to the located POM file, or null if no POM can be found
             * @throws NullPointerException if project is null
             */
            @Nullable
            Path locateExistingPom(@Nonnull Path project);
        }
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 29 09:46:53 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/BuildTimestampValueSource.java

            if ("build.timestamp".equals(expression) || "maven.build.timestamp".equals(expression)) {
                if (formattedDate == null && startTime != null) {
                    formattedDate = new SimpleDateFormat(format).format(startTime);
                }
    
                return formattedDate;
            }
    
            return null;
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/BufferCacheImplTest.java

        }
    
        // Edge: releasing null must be a no-op without exceptions
        @Test
        @DisplayName("releaseBuffer(null) is a no-op and does not throw")
        void releaseNullIsNoop() {
            BufferCacheImpl impl = new BufferCacheImpl(1, 4);
            assertDoesNotThrow(() -> impl.releaseBuffer(null));
            // Subsequent get should still work
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/entity/SearchLogEventTest.java

                this.eventType = eventType;
            }
        }
    
        // Test null values implementation
        private static class NullSearchLogEvent implements SearchLogEvent {
            @Override
            public String getId() {
                return null;
            }
    
            @Override
            public Long getVersionNo() {
                return null;
            }
    
            @Override
            public Map<String, Object> toSource() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.6K bytes
    - Viewed (0)
Back to top