Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1931 - 1940 of 3,758 for null (0.02 sec)

  1. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/Story.kt

     * reflectively with Moshi to parse stories from files.
     */
    data class Story(
      val description: String? = null,
      val cases: List<Case>,
      val fileName: String? = null,
    ) {
      // Used as the test name.
      override fun toString() = fileName ?: "?"
    
      companion object {
        @JvmField
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/exception/NullArgumentException.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.exception;
    
    import static org.codelibs.core.collection.ArrayUtil.asArray;
    
    /**
     * Exception thrown when an argument is null.
     *
     * Intended to be used instead of throwing {@link NullPointerException}.
     *
     * @author wyukawa
     */
    public class NullArgumentException extends ClIllegalArgumentException {
    
        /**
         *
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt

            // when it is present, and for others we must omit it!
            // https://tools.ietf.org/html/rfc4055#section-2.1
            ObjectIdentifiers.SHA256_WITH_RSA_ENCRYPTION -> Adapters.NULL
            ObjectIdentifiers.RSA_ENCRYPTION -> Adapters.NULL
            ObjectIdentifiers.EC_PUBLIC_KEY -> Adapters.OBJECT_IDENTIFIER
            else -> null
          }
        }
    
      /**
       * ```
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionSpecTest.kt

          if (sdkVersion != null && sdkVersion >= 29) {
            assertThat(sslSocket.enabledProtocols)
              .containsExactly(
                TlsVersion.TLS_1_1.javaName,
                TlsVersion.TLS_1_2.javaName,
                TlsVersion.TLS_1_3.javaName,
              )
          } else if (sdkVersion != null && sdkVersion >= 26) {
            assertThat(sslSocket.enabledProtocols)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/witness/WitnessRpcClient.java

        public boolean isConnected() {
            return connected && rpcHandle != null;
        }
    
        @Override
        public void close() {
            if (connected && rpcHandle != null) {
                try {
                    log.debug("Closing witness RPC client");
                    rpcHandle.close();
                    connected = false;
                    rpcHandle = null;
                } catch (Exception e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

                assertNotNull(writeRequest);
            }
    
            @Test
            @DisplayName("Should accept null file ID in constructor")
            void testConstructorWithNullFileId() {
                assertDoesNotThrow(() -> new Smb2WriteRequest(mockConfig, null));
            }
    
            @Test
            @DisplayName("Should accept empty file ID in constructor")
            void testConstructorWithEmptyFileId() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  7. lib/wasm/wasm_exec.js

    				}
    				return buf.length;
    			},
    			write(fd, buf, offset, length, position, callback) {
    				if (offset !== 0 || length !== buf.length || position !== null) {
    					callback(enosys());
    					return;
    				}
    				const n = this.writeSync(fd, buf);
    				callback(null, n);
    			},
    			chmod(path, mode, callback) { callback(enosys()); },
    			chown(path, uid, gid, callback) { callback(enosys()); },
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Sun Dec 08 15:34:47 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SpnegoContextTest.java

        }
    
        @Test
        @DisplayName("initSecContext with null buffer and non-zero len throws NPE")
        void testInitSecContextNullBufferNonZeroLen() throws Exception {
            SpnegoContext ctx = newContext();
            // A null buffer with non-zero len leads to NPE while slicing input
            assertThrows(NullPointerException.class, () -> ctx.initSecContext(null, 0, 1));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/Request.java

         *
         * @return the session instance, never {@code null}
         */
        @Nonnull
        S getSession();
    
        /**
         * Returns the trace information associated with this request, if any.
         * The trace provides context about the request's position in the operation
         * hierarchy and can carry additional diagnostic information.
         *
         * @return the request trace, or {@code null} if no trace information is available
         */
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 4K bytes
    - Viewed (0)
  10. 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)
Back to top