Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1801 - 1810 of 4,322 for nulls (0.02 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultModelUrlNormalizer.java

            return this;
        }
    
        @Override
        public void normalize(Model model, ModelBuildingRequest request) {
            if (model == null) {
                return;
            }
    
            model.setUrl(normalize(model.getUrl()));
    
            Scm scm = model.getScm();
            if (scm != null) {
                scm.setUrl(normalize(scm.getUrl()));
                scm.setConnection(normalize(scm.getConnection()));
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 2.5K bytes
    - Viewed (1)
  2. compat/maven-builder-support/src/main/java/org/apache/maven/building/UrlSource.java

        private final int hashCode;
    
        /**
         * Creates a new source backed by the specified URL.
         *
         * @param url The file, must not be {@code null}.
         */
        public UrlSource(URL url) {
            this.url = Objects.requireNonNull(url, "url cannot be null");
            this.hashCode = Objects.hashCode(url);
        }
    
        @Override
        public InputStream getInputStream() throws IOException {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jan 15 18:51:29 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/io/SerializeUtilTest.java

        }
    
        /**
         * Test null filter disables filtering
         *
         * @throws Exception
         */
        public void testFromBinaryToObject_NullFilter() throws Exception {
            final String str = "test";
            final byte[] binary = SerializeUtil.fromObjectToBinary(str);
            final Object result = SerializeUtil.fromBinaryToObject(binary, null);
            assertEquals(str, result);
        }
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/util/LogStreamTest.java

        }
    
        private void resetLogStreamInstance() throws Exception {
            // Use reflection to reset the static instance field to null
            Field instanceField = LogStream.class.getDeclaredField("inst");
            instanceField.setAccessible(true);
            instanceField.set(null, null);
        }
    
        @Test
        void testConstructor() {
            // Test constructor creates a LogStream that extends PrintStream
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java

      public void testAddAll_nullSupported() {
        List<E> containsNull = singletonList(null);
        assertTrue("addAll(containsNull) should return true", collection.addAll(containsNull));
        /*
         * We need (E) to force interpretation of null as the single element of a
         * varargs array, not the array itself
         */
        expectAdded((E) null);
      }
    
      @CollectionFeature.Require(value = SUPPORTS_ADD, absent = ALLOWS_NULL_VALUES)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  6. docs/smb3-features/01-smb3-lease-design.md

        }
        return false;  // Fall back to oplock logic
    }
    
    public boolean canCacheWrite() {
        if (leaseKey != null) {
            LeaseEntry entry = leaseManager.getLease(leaseKey);
            return entry != null && entry.hasWriteCache();
        }
        return false;
    }
    
    public boolean canCacheHandle() {
        if (leaseKey != null) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/rpc.java

                clock_seq_low = (byte) _src.dec_ndr_small();
                final int _nodes = 6;
                final int _nodei = _src.index;
                _src.advance(1 * _nodes);
    
                if (node == null) {
                    if (_nodes < 0 || _nodes > 0xFFFF) {
                        throw new NdrException(NdrException.INVALID_CONFORMANCE);
                    }
                    node = new byte[_nodes];
                }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainManagerFactory.java

                if (v4Factory == null) {
                    return null;
                }
                return createV3FactoryBridgeForV4Factory(v4Factory);
            } catch (Exception e) {
                // If lookup fails, no v4 factory exists for this type
                return null;
            }
        }
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 31 10:58:52 UTC 2025
    - 11K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/nego/EncryptionNegotiateContext.java

         */
        @Override
        public int encode(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
            SMBUtil.writeInt2(this.ciphers != null ? this.ciphers.length : 0, dst, dstIndex);
            dstIndex += 2;
    
            if (this.ciphers != null) {
                for (final int cipher : this.ciphers) {
                    SMBUtil.writeInt2(cipher, dst, dstIndex);
                    dstIndex += 2;
                }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/collection/MultiIterator.java

        /**
         * Returns an {@link Iterable} that wraps a {@link MultiIterator} for use in a for-each statement.
         *
         * @param <E> the element type
         * @param iterables the array of {@link Iterable} (must not be {@literal null})
         * @return an {@link Iterable} wrapping a {@link MultiIterator}
         */
        public static <E> Iterable<E> iterable(final Iterable<E>... iterables) {
            assertArgumentNotNull("iterables", iterables);
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 3.5K bytes
    - Viewed (0)
Back to top