Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2261 - 2270 of 3,740 for _shouldn (0.04 seconds)

  1. internal/grid/connection.go

    				}
    				return err
    			}
    		}
    	}
    	return nil
    }
    */
    
    // shouldConnect returns a deterministic bool whether the local should initiate the connection.
    // It should be 50% chance of any host initiating the connection.
    func (c *Connection) shouldConnect() bool {
    	// The remote should have the opposite result.
    	h0 := xxh3.HashString(c.Local + c.Remote)
    	h1 := xxh3.HashString(c.Remote + c.Local)
    	if h0 == h1 {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 46.9K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/math/StatsTesting.java

              .multiply(BigInteger.valueOf(Long.MAX_VALUE))
              .divide(BigInteger.valueOf(16L))
              .doubleValue();
    
      /**
       * Returns a stream of a million primitive doubles. The stream is parallel, which should cause
       * {@code collect} calls to run in multithreaded mode, so testing the combiner as well as the
       * supplier and accumulator.
       */
      static DoubleStream megaPrimitiveDoubleStream() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 23.8K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/Queues.java

       * the elements of the specified iterable, in the order they are returned by the iterable's
       * iterator.
       *
       * @param elements the elements that the queue should contain, in order
       * @return a new {@code LinkedBlockingQueue} containing those elements
       */
      @J2ktIncompatible
      @GwtIncompatible // LinkedBlockingQueue
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Nov 04 17:24:58 GMT 2025
    - 18K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/core/log/Logger.java

            assertArgumentNotEmpty("messageCode", messageCode);
    
            log(format(messageCode, args));
        }
    
        /**
         * Outputs a log entry.
         * <p>
         * The log message should be created using the {@link #format(String, Object...)} method.
         * It is convenient to use a static import for {@link #format(String, Object...)}.
         * </p>
         *
         * <pre>
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  5. src/main/java/jcifs/Config.java

     * but WITHOUT ANY WARRANTY; without even the implied warranty of
     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     * Lesser General Public License for more details.
     *
     * You should have received a copy of the GNU Lesser General Public
     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/builder/RequestDataBuilderTest.java

            RequestData data1 = context.build();
            RequestData data2 = context.build();
    
            // Should return the same underlying object
            assertSame(data1, data2);
        }
    
        public void test_modifyAfterBuild() {
            // Test modifying context after build
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java

                    }
                  });
              executionThread.start();
            }
          };
    
      @Override
      protected final void tearDown() {
        tearDownStack.runTearDown();
        assertWithMessage("exceptions should not be propagated to uncaught exception handlers")
            .that(thrownByExecutionThread)
            .isNull();
      }
    
      public void testServiceStartStop() throws Exception {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 12.9K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

     *     classes can be chained onto them without casting.
     * @param <G> The type of the generator to be passed to testers in the generated test suite. An
     *     instance of G should somehow provide an instance of the class under test, plus any other
     *     information required to parameterize the test.
     * @author George van den Driessche
     */
    @GwtIncompatible
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 10.4K bytes
    - Click Count (0)
  9. guava/src/com/google/common/graph/AbstractBaseGraph.java

    import java.util.AbstractSet;
    import java.util.Set;
    import org.jspecify.annotations.Nullable;
    
    /**
     * This class provides a skeletal implementation of {@link BaseGraph}.
     *
     * <p>The methods implemented in this class should not be overridden unless the subclass admits a
     * more efficient implementation.
     *
     * @author James Sexton
     * @param <N> Node parameter type
     */
    abstract class AbstractBaseGraph<N> implements BaseGraph<N> {
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 07 15:57:03 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  10. cmd/data-scanner-metric.go

    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    // 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 cmd
    
    import (
    	"strings"
    	"sync"
    	"sync/atomic"
    	"time"
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Oct 01 06:06:01 GMT 2025
    - 9.4K bytes
    - Click Count (0)
Back to Top