Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 224 for tries (0.02 seconds)

  1. ci/official/containers/ml_build/setup.python.sh

    if [[ ! -f "/usr/local/include/$VERSION" ]]; then
      ln -sf /usr/include/$VERSION /usr/local/include/$VERSION
    fi
    
    # Install pip
    wget --retry-connrefused --waitretry=1 --read-timeout=20 --timeout=15 --tries=5 https://bootstrap.pypa.io/get-pip.py
    /usr/bin/$VERSION get-pip.py
    /usr/bin/$VERSION -m pip install --no-cache-dir --upgrade pip
    /usr/bin/$VERSION -m pip install -U setuptools
    
    
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Oct 30 20:25:44 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  2. internal/lock/lock_nix.go

    	}
    
    	if st.IsDir() {
    		f.Close()
    		return nil, &os.PathError{
    			Op:   "open",
    			Path: path,
    			Err:  syscall.EISDIR,
    		}
    	}
    
    	return &LockedFile{File: f}, nil
    }
    
    // TryLockedOpenFile - tries a new write lock, functionality
    // it is similar to LockedOpenFile with with syscall.LOCK_EX
    // mode but along with syscall.LOCK_NB such that the function
    // doesn't wait forever but instead returns if it cannot
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Aug 19 01:35:22 GMT 2021
    - 2.8K bytes
    - Click Count (0)
  3. internal/http/check_port_linux.go

    package http
    
    import (
    	"context"
    	"net"
    	"syscall"
    	"time"
    )
    
    // CheckPortAvailability - check if given host and port is already in use.
    // Note: The check method tries to listen on given port and closes it.
    // It is possible to have a disconnected client in this tiny window of time.
    func CheckPortAvailability(host, port string, opts TCPOptions) (err error) {
    	lc := &net.ListenConfig{
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed May 03 21:12:25 GMT 2023
    - 1.9K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/util/concurrent/Callables.java

          try {
            task.run();
          } finally {
            if (restoreName) {
              boolean unused = trySetName(oldName, currentThread);
            }
          }
        };
      }
    
      /** Tries to set name of the given {@link Thread}, returns true if successful. */
      @J2ktIncompatible
      @GwtIncompatible // threads
      private static boolean trySetName(String threadName, Thread currentThread) {
        /*
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingException.java

    import java.io.StringWriter;
    import java.util.Collections;
    import java.util.List;
    
    import org.apache.maven.model.Model;
    
    /**
     * Signals one ore more errors during model building. The model builder tries to collect as many problems as possible
     * before eventually failing to provide callers with rich error information. Use {@link #getProblems()} to query the
     * details of the failure.
     *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  6. src/packaging/common/scripts/prerm

            else
                /etc/init.d/fess stop || true
            fi
    
        # older suse linux distributions do not ship with systemd
        # but do not have an /etc/init.d/ directory
        # this tries to start the fess service on these
        # as well without failing this script
        elif [ -x /etc/rc.d/init.d/fess ] ; then
            /etc/rc.d/init.d/fess stop || true
        fi
        echo " OK"
    fi
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Jan 29 07:34:32 GMT 2018
    - 1.7K bytes
    - Click Count (0)
  7. internal/dsync/drwmutex.go

    		Timeout: drwMutexInfinite,
    	})
    }
    
    // Options lock options.
    type Options struct {
    	Timeout       time.Duration
    	RetryInterval time.Duration
    }
    
    // GetLock tries to get a write lock on dm before the timeout elapses.
    //
    // If the lock is already in use, the calling go routine
    // blocks until either the mutex becomes available and return success or
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 20.3K bytes
    - Click Count (0)
  8. internal/http/check_port_others.go

    package http
    
    import (
    	"context"
    	"net"
    	"time"
    )
    
    // CheckPortAvailability - check if given host and port is already in use.
    // Note: The check method tries to listen on given port and closes it.
    // It is possible to have a disconnected client in this tiny window of time.
    func CheckPortAvailability(host, port string, opts TCPOptions) (err error) {
    	lc := &net.ListenConfig{}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed May 03 21:12:25 GMT 2023
    - 1.5K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

            SocketInputStream sis = new SocketInputStream(in);
    
            // Try to skip more than available
            // Skip uses read internally, which may throw IOException when it tries to read the next header
            try {
                long skipped = sis.skip(10);
                // If it doesn't throw, it should only skip what's available
                assertEquals(3, skipped);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/CompoundOrdering.java

    import com.google.common.annotations.J2ktIncompatible;
    import java.io.Serializable;
    import java.util.Arrays;
    import java.util.Comparator;
    import org.jspecify.annotations.Nullable;
    
    /** An ordering that tries several comparators in order. */
    @GwtCompatible
    final class CompoundOrdering<T extends @Nullable Object> extends Ordering<T>
        implements Serializable {
      final Comparator<? super T>[] comparators;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 2.5K bytes
    - Click Count (0)
Back to Top