Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 947 for seed (0.15 sec)

  1. okhttp/src/test/java/okhttp3/CacheTest.kt

        assertThat(request.headers["If-Modified-Since"]).isNull()
      }
    
      private fun assertClientSuppliedCondition(
        seed: MockResponse,
        conditionName: String,
        conditionValue: String,
      ): RecordedRequest {
        server.enqueue(
          seed.newBuilder()
            .body("A")
            .build(),
        )
        server.enqueue(
          MockResponse.Builder()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java

                    .withRemoteRepositories(Collections.singletonList(remoteRepository));
            InternalSession.associate(rss, this.session);
            sessionScope.enter();
            sessionScope.seed(InternalMavenSession.class, InternalMavenSession.from(this.session));
        }
    
        private Project project(Artifact artifact) {
            return session.getService(ProjectBuilder.class)
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 9.9K bytes
    - Viewed (2)
  3. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                writeJsonResponse(HttpServletResponse.SC_BAD_REQUEST, escapeJsonKeyValue(MESSAGE_FIELD, "Unsupported operation."));
                return;
            }
    
            final String seed = request.getParameter("seed");
            String[] tags = SearchRequestParams.getParamValueArray(request, "label");
            final String key = ComponentUtil.getVirtualHostHelper().getVirtualHostKey();
            if (StringUtil.isNotBlank(key)) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 02:17:23 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

        } catch (IllegalArgumentException expected) {
          // Kotlin native, see above
        }
    
        try {
          UnsignedInts.parseUnsignedInt("0", Character.MAX_RADIX + 1);
          fail();
        } catch (NumberFormatException expected) {
        } catch (IllegalArgumentException expected) {
          // Kotlin native, see above
        }
    
        // The radix is used as an array index, so try a negative value.
        try {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

        assertThat(UnsignedLongs.remainder(0xfffffffffffffffeL, 5)).isEqualTo(4);
      }
    
      @GwtIncompatible // Too slow in GWT (~3min fully optimized)
      public void testDivideRemainderEuclideanProperty() {
        // Use a seed so that the test is deterministic:
        Random r = new Random(0L);
        for (int i = 0; i < 1000000; i++) {
          long dividend = r.nextLong();
          long divisor = r.nextLong();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:36:17 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

                final List<FunctionScoreQueryBuilder.FilterFunctionBuilder> flist = new ArrayList<>();
                flist.add(new FunctionScoreQueryBuilder.FilterFunctionBuilder(ScoreFunctionBuilders.randomFunction()
                        .seed(ComponentUtil.getSystemHelper().getCurrentTimeAsLong()).setField(fessConfig.getIndexFieldDocId())));
                reader.setQuery(QueryBuilders
                        .functionScoreQuery(QueryBuilders.matchAllQuery(),
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 18K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/CallTest.kt

        server.enqueue(MockResponse(body = "seed connection pool"))
        server.enqueue(MockResponse(socketPolicy = DisconnectAfterRequest))
        server.enqueue(MockResponse(body = "unreachable!"))
        client =
          client.newBuilder()
            .dns(DoubleInetAddressDns())
            .retryOnConnectionFailure(false)
            .build()
        executeSynchronously("/").assertBody("seed connection pool")
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  8. cmd/erasure-decode.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 (
    	"context"
    	"errors"
    	"fmt"
    	"io"
    	"sync"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:44:59 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

        } catch (IllegalArgumentException expected) {
          // Kotlin native, see above
        }
    
        try {
          UnsignedInts.parseUnsignedInt("0", Character.MAX_RADIX + 1);
          fail();
        } catch (NumberFormatException expected) {
        } catch (IllegalArgumentException expected) {
          // Kotlin native, see above
        }
    
        // The radix is used as an array index, so try a negative value.
        try {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 12.7K bytes
    - Viewed (1)
  10. okhttp/src/test/java/okhttp3/EventListenerTest.kt

        assertThat(dnsEnd.inetAddressList.size).isEqualTo(1)
      }
    
      @Test
      fun noDnsLookupOnPooledConnection() {
        server.enqueue(MockResponse())
        server.enqueue(MockResponse())
    
        // Seed the pool.
        val call1 =
          client.newCall(
            Request.Builder()
              .url(server.url("/"))
              .build(),
          )
        val response1 = call1.execute()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 56.9K bytes
    - Viewed (0)
Back to top