Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3421 - 3430 of 4,689 for nulls (0.02 seconds)

  1. CLAUDE.md

    - Some integration tests require network access
    
    ## Important Notes for AI Assistants
    
    1. **Resource Management**: Always use try-with-resources with `CurlResponse`.
    
    2. **Null Safety**: Constructors validate null arguments. Follow this pattern.
    
    3. **Thread Safety**: `RequestProcessor` is single-use per request.
    
    4. **Encoding**: Call `encoding()` before `param()` methods.
    
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Thu Jan 08 07:28:24 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb1/smb1/BufferCache.java

         */
        static public byte[] getBuffer() {
            // Try to get from cache first - O(1) operation
            byte[] buf = bufferQueue.poll();
            if (buf != null) {
                queueSize.decrementAndGet();
                return buf;
            }
    
            // Validate buffer size to prevent overflow
            int bufferSize = SmbComTransaction.TRANSACTION_BUF_SIZE;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  3. buildscripts/minio-iam-ldap-upgrade-import-test.sh

    OLD_BINARY_LINK=https://dl.min.io/server/minio/release/linux-amd64/archive/minio.${OLD_VERSION}
    
    __init__() {
    	if which curl &>/dev/null; then
    		echo "curl is already installed"
    	else
    		echo "Installing curl:"
    		sudo apt install curl -y
    	fi
    
    	export GOPATH=/tmp/gopath
    	export PATH="${PATH}":"${GOPATH}"/bin
    
    	if which mc &>/dev/null; then
    		echo "mc is already installed"
    	else
    		echo "Installing mc:"
    		go install github.com/minio/mc@latest
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Nov 11 15:01:29 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        WeakReference<Object> ref = new WeakReference<>(null);
        int expectedComputations = 0;
        for (int i = 0; i < iterations; i++) {
          // The entry should get garbage collected and recomputed.
          Object oldValue = ref.get();
          if (oldValue == null) {
            expectedComputations++;
          }
          ref = new WeakReference<>(cache.getUnchecked(1));
          oldValue = null;
          Thread.sleep(i);
          System.gc();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 91K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/core/collection/CaseInsensitiveSet.java

        }
    
        @Override
        public boolean contains(final Object o) {
            return map.containsKey(o);
        }
    
        @Override
        public boolean add(final String o) {
            return map.put(o, PRESENT) == null;
        }
    
        @Override
        public boolean remove(final Object o) {
            return map.remove(o) == PRESENT;
        }
    
        @Override
        public void clear() {
            map.clear();
        }
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/IncludesArtifactFilter.java

        @Override
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
    
            // make sure IncludesArtifactFilter is not equal ExcludesArtifactFilter!
            if (obj == null || getClass() != obj.getClass()) {
                return false;
            }
    
            IncludesArtifactFilter other = (IncludesArtifactFilter) obj;
    
            return patterns.equals(other.patterns);
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  7. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

            return val;
        }
    
        private int getDceReferent(final Object obj) {
            Entry e;
    
            if (this.referents == null) {
                this.referents = new HashMap<>();
                this.referent = 1;
            }
    
            e = this.referents.get(obj);
            if (e == null) {
                e = new Entry(this.referent++, obj);
                this.referents.put(obj, e);
            }
    
            return e.referent;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  8. src/test/java/jcifs/dcerpc/DcerpcHandleTest.java

        class EdgeCaseTests {
    
            @Test
            @DisplayName("Should handle null binding toString")
            void testToStringWithNullBinding() {
                // Given: Handle with null binding
                TestDcerpcHandle handleWithNullBinding = new TestDcerpcHandle(mockContext);
    
                // When/Then: Should throw NPE for null binding (expected behavior)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/CriticalPerformanceTest.java

                            try {
                                // Test connection pool operations without actually connecting
                                boolean contains = pool.contains(null); // Should handle gracefully
                                successCount.incrementAndGet();
                            } catch (Exception e) {
                                synchronized (exceptions) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/crawler/transformer/FessFileTransformerTest.java

            protocolHelper.init();
            ComponentUtil.register(protocolHelper, "protocolHelper");
        }
    
        @Override
        protected void tearDown(TestInfo testInfo) throws Exception {
            ComponentUtil.setFessConfig(null);
            super.tearDown(testInfo);
        }
    
        private String encodeUrl(final String url) {
            try {
                return URLEncoder.encode(url, Constants.UTF_8);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14.4K bytes
    - Click Count (0)
Back to Top