Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for prebind (0.05 sec)

  1. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

        Invokable<?, ?> delegate = Prepender.method("prepend", String.class, Iterable.class);
        assertEquals(new TypeToken<Iterable<String>>() {}, delegate.getReturnType());
      }
    
      public void testStaticMethod_exceptionTypes() throws Exception {
        Invokable<?, ?> delegate = Prepender.method("prepend", String.class, Iterable.class);
        assertEquals(ImmutableList.of(), delegate.getExceptionTypes());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/reflect/InvokableTest.java

        Invokable<?, ?> delegate = Prepender.method("prepend", String.class, Iterable.class);
        assertEquals(new TypeToken<Iterable<String>>() {}, delegate.getReturnType());
      }
    
      public void testStaticMethod_exceptionTypes() throws Exception {
        Invokable<?, ?> delegate = Prepender.method("prepend", String.class, Iterable.class);
        assertEquals(ImmutableList.of(), delegate.getExceptionTypes());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/ReleaseNotesTransformer.java

            addCssToHead(document);
            addJavascriptToHead(document);
    
            wrapH2InSectionTopic(document);
            addAnchorsForHeadings(document);
            document.body().prepend("<h1>Gradle Release Notes</h1>");
            addTOC(document);
            wrapContentInContainer(document);
    
            String rewritten = document.body().html();
            // Turn Gradle Jira issue numbers into issue links
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 03 05:02:20 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/TreeBasedTable.java

          return new Maps.SortedKeySet<>(this);
        }
    
        @Override
        public Comparator<? super C> comparator() {
          return columnComparator();
        }
    
        int compare(Object a, Object b) {
          // pretend we can compare anything
          @SuppressWarnings("unchecked")
          Comparator<Object> cmp = (Comparator<Object>) comparator();
          return cmp.compare(a, b);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  5. tests/scanner_valuer_test.go

    }
    
    func (data EncryptedData) Value() (driver.Value, error) {
    	if len(data) > 0 && data[0] == 'x' {
    		// needed to test failures
    		return nil, errors.New("Should not start with 'x'")
    	}
    
    	// prepend asterisks
    	return append([]byte("***"), data...), nil
    }
    
    type Num int64
    
    func (i *Num) Scan(src interface{}) error {
    	switch s := src.(type) {
    	case []byte:
    		n, _ := strconv.Atoi(string(s))
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 07 07:02:07 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  6. scripts/docs.py

            raise RuntimeError("Couldn't auto-generate sponsors section")
        if not match_pre:
            raise RuntimeError("Couldn't find pre section (<style>) in index.md")
        frontmatter_end = match_pre.end()
        pre_end = match_start.end()
        post_start = match_end.start()
        template = Template(index_sponsors_template)
        message = template.render(sponsors=sponsors)
        pre_content = content[frontmatter_end:pre_end]
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 08 11:01:17 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt

        } else if (b != 0) {
          // Group separator ":" delimiter.
          if (input.startsWith(":", startIndex = i)) {
            i++
          } else if (input.startsWith(".", startIndex = i)) {
            // If we see a '.', rewind to the beginning of the previous group and parse as IPv4.
            if (!decodeIpv4Suffix(input, groupOffset, limit, address, b - 2)) return null
            b += 2 // We rewound two bytes and then added four.
            break
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/RegularImmutableMap.java

          ImmutableMapEntry<K, V> effectiveEntry =
              checkNoConflictInKeyBucket(key, value, keyBucketHead, throwIfDuplicateKeys);
          if (effectiveEntry == null) {
            // prepend, not append, so the entries can be immutable
            effectiveEntry =
                (keyBucketHead == null)
                    ? makeImmutable(entry, key, value)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  9. docs/fr/docs/tutorial/first-steps.md

    Cette syntaxe `@something` en Python est appelée un "décorateur".
    
    Vous la mettez au dessus d'une fonction. Comme un joli chapeau décoratif (j'imagine que ce terme vient de là 🤷🏻‍♂).
    
    Un "décorateur" prend la fonction en dessous et en fait quelque chose.
    
    Dans notre cas, ce décorateur dit à **FastAPI** que la fonction en dessous correspond au **chemin** `/` avec l'**opération** `get`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  10. docs/fr/docs/python-types.md

    ///
    
    ## Motivations
    
    Prenons un exemple simple :
    
    {*../../docs_src/python_types/tutorial001.py*}
    
    Exécuter ce programe affiche :
    
    ```
    John Doe
    ```
    
    La fonction :
    
    * Prend un `first_name` et un `last_name`.
    * Convertit la première lettre de chaque paramètre en majuscules grâce à `title()`.
    * Concatène les résultats avec un espace entre les deux.
    
    {*../../docs_src/python_types/tutorial001.py hl[2] *}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:21:34 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top