Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 4,400 for It (0.22 sec)

  1. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        Iterator<Integer> it = mmHeap.iterator();
        assertEquals((Integer) 1, it.next());
        assertEquals((Integer) 20, it.next());
        assertEquals((Integer) 100, it.next());
        assertEquals((Integer) 2, it.next());
        it.remove();
        assertFalse(mmHeap.contains(2));
        assertTrue(it.hasNext());
        assertEquals((Integer) 3, it.next());
        assertTrue(it.hasNext());
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
  2. fastapi/security/api_key.py

        This defines the name of the query parameter that should be provided in the request
        with the API key and integrates that into the OpenAPI documentation. It extracts
        the key value sent in the query parameter automatically and provides it as the
        dependency result. But it doesn't define how to send that API key to the client.
    
        ## Usage
    
        Create an instance object and use that object as the dependency in `Depends()`.
    
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

                collector.typesToShorten.distinctBy { it.element }.map { TypeToShortenInfo(it.element.createSmartPointer(), it.shortenedRef) },
                collector.qualifiersToShorten.distinctBy { it.element }.map { QualifierToShortenInfo(it.element.createSmartPointer(), it.shortenedRef) },
                collector.labelsToShorten.distinctBy { it.element }.map { ThisLabelToShortenInfo(it.element.createSmartPointer()) },
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:51:33 GMT 2024
    - 69.5K bytes
    - Viewed (0)
  4. tensorflow/c/eager/tape.h

        for (auto it : op_it->second.input_tensor_id) {
          auto count_it = result.tensor_usage_counts.find(it);
          if (count_it != result.tensor_usage_counts.end()) {
            count_it->second++;
          } else {
            result.tensor_usage_counts[it] = 1;
            if (tensor_tape.find(it) != tensor_tape.end()) {
              tensor_stack.push_back(it);
            }
          }
        }
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  5. samples/guide/src/main/java/okhttp3/recipes/kt/CacheResponse.kt

        val response1Body =
          client.newCall(request).execute().use {
            if (!it.isSuccessful) throw IOException("Unexpected code $it")
    
            println("Response 1 response:          $it")
            println("Response 1 cache response:    ${it.cacheResponse}")
            println("Response 1 network response:  ${it.networkResponse}")
            return@use it.body.string()
          }
    
        val response2Body =
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2K bytes
    - Viewed (2)
  6. src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java

        /* Open the file and overwrite it's contents or fail if it does not exist
         * aka TRUNCATE_EXISTING
         */
    
        static final int FILE_OVERWRITE    = 0x4;
    
        /* Open the file and overwrite it's contents or create it if it does not exist
         * aka CREATE_ALWAYS (according to the wire when calling CreateFile)
         */
    
        static final int FILE_OVERWRITE_IF = 0x5;
    
    
        // create options
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 6.6K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/http/CancelTest.kt

        assertThat(events2).isEqualTo(expectedEvents2)
      }
    
      private fun isConnectionEvent(it: CallEvent?) =
        it is CallStart ||
          it is CallEnd ||
          it is ConnectStart ||
          it is ConnectEnd ||
          it is ConnectionAcquired ||
          it is ConnectionReleased ||
          it is Canceled ||
          it is RequestFailed ||
          it is ResponseFailed
    
      private fun sleep(delayMillis: Int) {
        try {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/io/LineIteratorTest.java

            final LineIterator it = new LineIterator(reader);
            assertThat(it.hasNext(), is(true));
            assertThat(it.next(), is("aaa"));
            assertThat(it.hasNext(), is(true));
            assertThat(it.next(), is("bbb"));
            assertThat(it.hasNext(), is(true));
            assertThat(it.next(), is("ccc"));
            assertThat(it.hasNext(), is(not(true)));
        }
    
        /**
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/dependencies/index.md

        ```Python hl_lines="8-11"
        {!> ../../../docs_src/dependencies/tutorial001.py!}
        ```
    
    That's it.
    
    **2 lines**.
    
    And it has the same shape and structure that all your *path operation functions* have.
    
    You can think of it as a *path operation function* without the "decorator" (without the `@app.get("/some-path")`).
    
    And it can return anything you want.
    
    In this case, this dependency expects:
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  10. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/support/ClassBytesRepository.kt

                entries().asSequence()
                    .filter { it.name.isClassFilePath }
                    .map { kotlinSourceNameOf(it.name) }
            }
    
        private
        fun sourceNamesFromDir(dir: File): Sequence<String> =
            dir.walkTopDown()
                .filter { it.name.isClassFilePath }
                .map { kotlinSourceNameOf(normaliseFileSeparators(it.relativeTo(dir).path)) }
    
        private
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Sat Sep 30 16:17:27 GMT 2023
    - 6.1K bytes
    - Viewed (0)
Back to top