Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1341 - 1350 of 1,429 for example1 (0.04 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

        if (supportsRemove) {
          // We use a copy of "entryToRemove" in the assertion because "entryToRemove" might be
          // invalidated and have undefined behavior after entrySet.removeAll(entriesToRemove),
          // for example entryToRemove.getValue() might be null.
          Entry<K, V> entryToRemoveCopy = mapEntry(entryToRemove.getKey(), entryToRemove.getValue());
    
          int initialSize = map.size();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 43.9K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

       * semantics of builder can be arbitrarily complex. Still, a factory class can be created in the
       * test to facilitate equality testing. For example:
       *
       * <pre>
       * public class FooTest {
       *
       *   private static final class FooFactoryForTest {
       *     public static Foo create(String a, String b, int c, boolean d) {
       *       return Foo.builder()
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/operand_test.go

    				}
    			}
    		})
    	}
    }
    
    type operandTest struct {
    	input, output string
    }
    
    type badOperandTest struct {
    	input, error string
    }
    
    // Examples collected by scanning all the assembly in the standard repo.
    
    var amd64OperandTests = []operandTest{
    	{"$(-1.0)", "$(-1.0)"},
    	{"$(0.0)", "$(0.0)"},
    	{"$(0x2000000+116)", "$33554548"},
    	{"$(0x3F<<7)", "$8064"},
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Tue Aug 29 18:31:05 UTC 2023
    - 23.9K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractorTest.java

        // (TikaExtractor) getContainer().getComponent(
        // "tikaExtractorForPdfPassword");
        // Map<String, String> params = new HashMap<String, String>();
        // params.put(ExtractData.URL, "http://example.com/test_pass.pdf");
        // ExtractData extractData = extractor.getText(in, params);
        // String content = extractData.getContent();
        // CloseableUtil.closeQuietly(in);
        // logger.info(content);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

      }
    
      /**
       * Annotates a method to be the instance generator of a certain type. The return type is the
       * generated type. The method parameters correspond to the generated type's type parameters. For
       * example, if the annotated method returns {@code Map<K, V>}, the method signature should be:
       * {@code Map<K, V> generateMap(K key, V value)}.
       */
      @Target(ElementType.METHOD)
      @Retention(RetentionPolicy.RUNTIME)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 28.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

     * shared state without additional synchronization necessary for visibility to later executions of
     * the life cycle methods.
     *
     * <h3>Usage Example</h3>
     *
     * <p>Here is a sketch of a service which crawls a website and uses the scheduling capabilities to
     * rate limit itself.
     *
     * {@snippet :
     * class CrawlingService extends AbstractScheduledService {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.7K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java

                        if (pointer instanceof Lifecycle.DependenciesPointer) {
                            // For dependencies: ensure current project's phase starts after dependency's phase completes
                            // Example: project's compile starts after dependency's package completes
                            // TODO: String scope = ((Lifecycle.DependenciesPointer) pointer).scope();
                            projects.get(project)
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 06:12:36 UTC 2025
    - 55.1K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt

       *
       * Writes are subject to the write window of the stream and the connection. Until there is a
       * window sufficient to send [byteCount], the caller will block. For example, a user of
       * `HttpURLConnection` who flushes more bytes to the output stream than the connection's write
       * window will block.
       *
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  9. docs/uk/docs/alternatives.md

    > Requests є одним із найбільш завантажуваних пакетів Python усіх часів
    
    Використовувати його дуже просто. Наприклад, щоб виконати запит `GET`, ви повинні написати:
    
    ```Python
    response = requests.get("http://example.com/some/url")
    ```
    
    Відповідна операція *роуту* API FastAPI може виглядати так:
    
    ```Python hl_lines="1"
    @app.get("/some/url")
    def read_url():
         return {"message": "Hello World"}
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 38.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableMultimap.java

        return new Builder<>(expectedKeys);
      }
    
      /**
       * A builder for creating immutable multimap instances, especially {@code public static final}
       * multimaps ("constant multimaps"). Example:
       *
       * {@snippet :
       * static final Multimap<String, Integer> STRING_TO_INTEGER_MULTIMAP =
       *     new ImmutableMultimap.Builder<String, Integer>()
       *         .put("one", 1)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 09 15:58:48 UTC 2025
    - 28.1K bytes
    - Viewed (0)
Back to top