Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 3,099 for next (0.04 sec)

  1. docs_src/security/tutorial003_an_py39.py

        if username in db:
            user_dict = db[username]
            return UserInDB(**user_dict)
    
    
    def fake_decode_token(token):
        # This doesn't provide any security at all
        # Check the next version
        user = get_user(fake_users_db, token)
        return user
    
    
    async def get_current_user(token: Annotated[str, Depends(oauth2_scheme)]):
        user = fake_decode_token(token)
        if not user:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Mar 26 16:56:53 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/math/StatsAccumulator.java

       *     cause loss of precision)
       */
      public void addAll(Iterator<? extends Number> values) {
        while (values.hasNext()) {
          add(values.next().doubleValue());
        }
      }
    
      /**
       * Adds the given values to the dataset.
       *
       * @param values a series of values
       */
      public void addAll(double... values) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

                for ( CreateContextRequest createContext : this.createContexts ) {
                    int structStart = dstIndex;
    
                    SMBUtil.writeInt4(0, dst, structStart); // Next
                    if ( lastStart > 0 ) {
                        // set next pointer of previous CREATE_CONTEXT
                        SMBUtil.writeInt4(structStart - dstIndex, dst, lastStart);
                    }
    
                    dstIndex += 4;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jun 01 09:52:11 UTC 2019
    - 14.3K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java

            if (r1.size() != r2.size()) {
                return false;
            }
    
            for (Iterator<ArtifactRepository> it1 = r1.iterator(), it2 = r2.iterator(); it1.hasNext(); ) {
                if (!repositoryEquals(it1.next(), it2.next())) {
                    return false;
                }
            }
    
            return true;
        }
    
        /**
         * CacheRecord
         */
        public class CacheRecord {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/MultisetsImmutableEntryTest.java

        return Multisets.immutableEntry(element, count);
      }
    
      private static <E extends @Nullable Object> Entry<E> control(E element, int count) {
        return HashMultiset.create(nCopies(count, element)).entrySet().iterator().next();
      }
    
      public void testToString() {
        assertEquals("foo", entry("foo", 1).toString());
        assertEquals("bar x 2", entry("bar", 2).toString());
      }
    
      public void testToStringNull() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. ci/official/utilities/repack_libtensorflow.sh

    # the maven-style src/main/java subdirectory.
    #
    # Bazel manages annotation generated source as follows: First, it
    # calls javac with options that create generated files under a
    # bazel-out directory. Next, it archives the generated source files
    # into a srcjar directly under the root. There doesn't appear to be a
    # simple way to parameterize this from bazel, hence this helper to
    # "normalize" the srcjar layout.
    #
    # Arguments:
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Jul 12 19:47:53 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/RecordingCallback.kt

        val timeoutMillis = TimeUnit.NANOSECONDS.toMillis(System.nanoTime()) + TIMEOUT_MILLIS
        while (true) {
          val i = responses.iterator()
          while (i.hasNext()) {
            val recordedResponse = i.next()
            if (recordedResponse.request.url.equals(url)) {
              i.remove()
              return recordedResponse
            }
          }
          val nowMillis = TimeUnit.NANOSECONDS.toMillis(System.nanoTime())
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/MojoNotFoundException.java

                List<MojoDescriptor> mojos = pluginDescriptor.getMojos();
                if (mojos != null) {
                    for (Iterator<MojoDescriptor> it = mojos.iterator(); it.hasNext(); ) {
                        MojoDescriptor mojo = it.next();
                        if (mojo != null) {
                            buffer.append(mojo.getGoal());
                        }
                        if (it.hasNext()) {
                            buffer.append(", ");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

    package mockwebserver3
    
    import java.io.Closeable
    import java.io.IOException
    import java.net.InetAddress
    import java.net.InetSocketAddress
    import java.net.ProtocolException
    import java.net.Proxy
    import java.net.ServerSocket
    import java.net.Socket
    import java.net.SocketException
    import java.security.SecureRandom
    import java.security.cert.CertificateException
    import java.security.cert.X509Certificate
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/DummyProxy.java

        // Make the proxy serializable to work with SerializableTester
        interfaceClasses.add(Serializable.class);
        Object dummy =
            Proxy.newProxyInstance(
                interfaceClasses.iterator().next().getClassLoader(),
                interfaceClasses.toArray(new Class<?>[interfaceClasses.size()]),
                new DummyHandler(interfaceType));
        @SuppressWarnings("unchecked") // interfaceType is T
        T result = (T) dummy;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 08 17:31:55 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top