Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3731 - 3740 of 6,702 for If (0.1 seconds)

  1. guava-testlib/src/com/google/common/collect/testing/testers/ReflectionFreeAssertThrows.java

        if (predicate == null) {
          throw new IllegalArgumentException(
              expectedThrowable
                  + " is not yet supported by ReflectionFreeAssertThrows. Add an entry for it in the"
                  + " map in that class.");
        }
        Object result;
        try {
          result = supplier.get();
        } catch (Throwable t) {
          if (predicate.apply(t)) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb1/netbios/NodeStatusResponse.java

                     * data explicitly (and carefully).
                     */
                    if (!addrFound && queryAddress.hostName.hexCode == hexCode
                            && (queryAddress.hostName == NbtAddress.UNKNOWN_NAME || queryAddress.hostName.name.equals(n))) {
    
                        if (queryAddress.hostName == NbtAddress.UNKNOWN_NAME) {
                            queryAddress.hostName = new Name(n, hexCode, scope);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  3. docs/en/docs/advanced/dataclasses.md

    /// info
    
    Keep in mind that dataclasses can't do everything Pydantic models can do.
    
    So, you might still need to use Pydantic models.
    
    But if you have a bunch of dataclasses laying around, this is a nice trick to use them to power a web API using FastAPI. 🤓
    
    ///
    
    ## Dataclasses in `response_model` { #dataclasses-in-response-model }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/opensearch/config/exentity/CrawlingConfig.java

            if (StringUtil.isNotBlank(proxyHost) && StringUtil.isNotBlank(proxyPort)) {
                paramMap.put(Param.Client.PROXY_HOST, proxyHost);
                paramMap.put(Param.Client.PROXY_PORT, proxyPort);
                final String proxyUsername = fessConfig.getHttpProxyUsername();
                final String proxyPassword = fessConfig.getHttpProxyPassword();
                if (proxyUsername != null && proxyPassword != null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  5. internal/bucket/lifecycle/noncurrentversion_test.go

    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    // GNU Affero General Public License for more details.
    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package lifecycle
    
    import "testing"
    
    func Test_NoncurrentVersionsExpiration_Validation(t *testing.T) {
    	testcases := []struct {
    		n   NoncurrentVersionExpiration
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Dec 14 17:41:44 GMT 2021
    - 2.1K bytes
    - Click Count (0)
  6. cmd/version_test.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"testing"
    	"time"
    )
    
    func TestVersion(t *testing.T) {
    	Version = "2017-05-07T06:37:49Z"
    	_, err := time.Parse(time.RFC3339, Version)
    	if err != nil {
    		t.Fatal(err)
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 956 bytes
    - Click Count (0)
  7. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/util/ports/DefaultPortDetector.java

    import java.net.DatagramSocket;
    import java.net.ServerSocket;
    
    public class DefaultPortDetector implements PortDetector {
        /**
         * Checks to see if a specific port is available.
         *
         * @param port the port to check for availability
         * @return true if the port is available, false otherwise
         */
        public boolean isAvailable(int port) {
            try {
                ServerSocket ss = new ServerSocket(port);
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 1.3K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb2/io/Smb2ReadResponse.java

            final int start = bufferIndex;
            final int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if (structureSize == 9) {
                return this.readErrorResponse(buffer, bufferIndex);
            }
            if (structureSize != 17) {
                throw new SMBProtocolDecodingException("Expected structureSize = 17");
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  9. cmd/routers.go

    	var (
    		lockGrid   = globalLockGrid.Load()
    		commonGrid = globalGrid.Load()
    	)
    
    	// Register storage REST router only if its a distributed setup.
    	registerStorageRESTHandlers(router, endpointServerPools, commonGrid)
    
    	// Register peer REST router only if its a distributed setup.
    	registerPeerRESTHandlers(router, commonGrid)
    
    	// Register bootstrap REST router for distributed setups.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Jul 29 18:10:04 GMT 2024
    - 3.9K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/SortedMultiset.java

       * empty.
       */
      @Nullable Entry<E> lastEntry();
    
      /**
       * Returns and removes the entry associated with the lowest element in this multiset, or returns
       * {@code null} if this multiset is empty.
       */
      @Nullable Entry<E> pollFirstEntry();
    
      /**
       * Returns and removes the entry associated with the greatest element in this multiset, or returns
       * {@code null} if this multiset is empty.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.4K bytes
    - Click Count (0)
Back to Top