Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1381 - 1390 of 1,885 for checkEq (0.06 sec)

  1. src/main/java/jcifs/util/transport/Transport.java

        /**
         * Checks if the transport is disconnected.
         *
         * @return whether the transport is disconnected
         */
        public boolean isDisconnected() {
            return this.state == 4 || this.state == 5 || this.state == 6 || this.state == 0;
        }
    
        /**
         * Checks if the transport is in a failed state.
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

            assertNotNull(buffer2, "Reused buffer should not be null");
            assertEquals(SmbComTransaction.TRANSACTION_BUF_SIZE, buffer2.length, "Reused buffer should have correct size");
    
            // Note: We don't check if content is cleared as that's not a security requirement
            // The important part is that the buffer is valid and has correct size
        }
    
        /**
         * Test getBuffers method for transaction buffers.
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtils.java

     * <h2>Using DomTrip Directly</h2>
     * <p>Many operations can be performed directly using DomTrip's Element API:
     * <pre>{@code
     * // Find child element
     * Element child = parent.child("version").orElse(null);
     *
     * // Check if child exists
     * boolean hasVersion = parent.child("version").isPresent();
     *
     * // Get child text content
     * String version = parent.child("version")
     *     .map(Element::textContent)
     *     .orElse(null);
     *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  4. cmd/streaming-v4-unsigned.go

    			if cr.debug {
    				fmt.Printf("Unknown key %q - expected on of %v\n", key, cr.trailers)
    			}
    			return errMalformedEncoding
    		}
    		cr.trailers.Set(key, value)
    		delete(wantTrailers, key)
    	}
    
    	// Check if we got all we want.
    	if len(wantTrailers) > 0 {
    		return io.ErrUnexpectedEOF
    	}
    	return nil
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Apr 03 14:55:52 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbSessionImpl.java

            }
    
            return null; // No witness service found
        }
    
        /**
         * Check if witness service is available on the given address
         *
         * @param address the address to check
         * @return true if witness service is available
         */
        private boolean isWitnessServiceAvailable(InetAddress address) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/config/MultiChannelConfigurationTest.java

            assertEquals("adaptive", config.getLoadBalancingStrategy(), "Default strategy should be adaptive");
            assertEquals(10, config.getChannelHealthCheckInterval(), "Default health check interval should be 10");
        }
    
        @Test
        void testMultiChannelEnabledProperty() throws CIFSException {
            Properties props = new Properties();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/ds/AbstractDataStore.java

         */
        protected static final String SCRIPT_TYPE = "script_type";
    
        /**
         * The mime type.
         */
        public String mimeType = "application/datastore";
    
        /**
         * The flag to check if the data store is alive.
         * Volatile to ensure visibility across threads.
         */
        protected volatile boolean alive = true;
    
        /**
         * Default constructor.
         */
        public AbstractDataStore() {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/Functions.java

          V result = map.get(key);
          checkArgument(result != null || map.containsKey(key), "Key '%s' not present in map", key);
          // The unchecked cast is safe because of the containsKey check.
          return uncheckedCastNullableTToT(result);
        }
    
        @Override
        public boolean equals(@Nullable Object o) {
          if (o instanceof FunctionForMapNoDefault) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbWatchHandleImplTest.java

            verify(tree, times(1)).close(); // try-with-resources must close
            verify(handle, never()).markClosed();
            verify(tree, never()).hasCapability(anyInt()); // not checked on SMB2
        }
    
        // SMB1 path: without CAP_NT_SMBS it should throw SmbUnsupportedOperationException
        @Test
        @DisplayName("watch() SMB1 without capability throws unsupported")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  10. docs/debugging/xl-meta/main.go

    		}
    	}
    	fmt.Println("Reconstructed", reconstructed, "bytes and verified", verified, "bytes of partial shard with config", string(shardConfig))
    }
    
    // bitrot returns a shard beginning at startOffset after doing bitrot checks.
    func bitrot(val []byte, startOffset, shardSize int) ([]byte, error) {
    	var res []byte
    	for len(val) >= 32 {
    		want := val[:32]
    		data := val[32:]
    		if len(data) > shardSize {
    			data = data[:shardSize]
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 40.4K bytes
    - Viewed (0)
Back to top