Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 5451 - 5460 of 7,102 for sering (0.05 seconds)

  1. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

     * errors for using {@code get(Comparator.class)} as a {@code Comparator<Foo>}, for example.
     * Immutable empty instances are returned for collection types; {@code ""} for string; {@code 0} for
     * number types; reasonable default instance for other stateless types. For mutable types, a fresh
     * instance is created each time {@code get()} is called.
     *
     * @author Kevin Bourrillion
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 21.4K bytes
    - Click Count (0)
  2. guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        }
    
        private WithExceptionalConstructor(String unused) {}
      }
    
      private static class WithPublicConstant {
        @Keep public static final WithPublicConstant INSTANCE = new WithPublicConstant();
      }
    
      private static class ParentClassHasConstant extends WithPublicConstant {}
    
      public static class WithGenericConstant<T> {
        public static final WithGenericConstant<String> STRING_CONSTANT = new WithGenericConstant<>();
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 22.8K bytes
    - Click Count (0)
  3. docs/pt/docs/tutorial/query-params-str-validations.md

    ---
    
    Mas se você estiver curioso sobre este exemplo de código específico e ainda entretido, aqui vão alguns detalhes extras.
    
    #### String com `value.startswith()` { #string-with-value-startswith }
    
    Percebeu? Uma string usando `value.startswith()` pode receber uma tupla, e verificará cada valor na tupla:
    
    {* ../../docs_src/query_params_str_validations/tutorial015_an_py310.py ln[16:19] hl[17] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 17.2K bytes
    - Click Count (0)
  4. guava-tests/benchmark/com/google/common/base/EnumsBenchmark.java

      @Param({"Small", "Medium", "Large"})
      String enumSize;
    
      @Param({"0.2", "0.8"})
      float hitRate;
    
      // We could avoid the raw type here by initializing this with a ternary (? SmallEnum.class : ...).
      // However, we end up needing a raw type in getIfPresent, as discussed there.
      @SuppressWarnings("rawtypes")
      private Class<? extends Enum> enumType;
    
      private String[] sampleData;
    
      @BeforeExperiment
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 29.4K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/plugin/InstallForm.java

     * via file upload through the admin UI.
     */
    public class InstallForm {
    
        /** Plugin identifier (required, max 400 characters) */
        @Required
        @Size(max = 400)
        public String id;
    
        /**
         * Default constructor.
         */
        public InstallForm() {
            // Default constructor
        }
    
        /** JAR file containing the plugin to install */
        public MultipartFormFile jarFile;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/searchlist/EditForm.java

     * This form extends CreateForm and adds fields necessary for editing existing search list entries.
     */
    public class EditForm extends CreateForm {
    
        /** Unique identifier for the search list entry */
        public String id;
    
        /** Sequence number for ordering search list entries */
        @ValidateTypeFailure
        public Long seqNo;
    
        /** Primary term value for search list configuration */
        @ValidateTypeFailure
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  7. native-image-tests/src/test/kotlin/okhttp3/nativeimage/SampleTest.kt

      }
    
      @Test
      fun testMockWebServer() {
        server.enqueue(MockResponse(body = "abc"))
        server.start()
    
        client.newCall(Request(url = server.url("/"))).execute().use {
          assertThat(it.body.string()).isEqualTo("abc")
        }
      }
    
      @Test
      fun testExternalSite() {
        client.newCall(Request(url = "https://google.com/robots.txt".toHttpUrl())).execute().use {
          assertThat(it.code).isEqualTo(200)
        }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jul 22 20:31:49 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingCookieJar.kt

      fun enqueueRequestCookies(vararg cookies: Cookie) {
        requestCookies.add(cookies.toList())
      }
    
      fun takeResponseCookies(): List<Cookie> = responseCookies.removeFirst()
    
      fun assertResponseCookies(vararg cookies: String?) {
        assertThat(takeResponseCookies().map(Cookie::toString)).containsExactly(*cookies)
      }
    
      override fun saveFromResponse(
        url: HttpUrl,
        cookies: List<Cookie>,
      ) {
        responseCookies.add(cookies)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/io/TestCharSource.java

     *
     * @author Colin Decker
     */
    @NullUnmarked
    public class TestCharSource extends CharSource implements TestStreamSupplier {
    
      private final TestByteSource byteSource;
    
      public TestCharSource(String content, TestOption... options) {
        this.byteSource = new TestByteSource(content.getBytes(UTF_8), options);
      }
    
      @Override
      public boolean wasStreamOpened() {
        return byteSource.wasStreamOpened();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/collect/ForwardingObjectTest.java

              protected Object delegate() {
                return delegate;
              }
            };
        new EqualsTester().addEqualityGroup(forward).testEquals();
      }
    
      public void testEqualsSymmetric() {
        Set<String> delegate = newHashSet("foo");
        ForwardingObject forward =
            new ForwardingObject() {
              @Override
              protected Object delegate() {
                return delegate;
              }
            };
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 1.6K bytes
    - Click Count (0)
Back to Top