Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 3,608 for authOk (0.05 seconds)

  1. guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveTester.java

    /**
     * A generic JUnit test which tests {@code remove} operations on a map. Can't be invoked directly;
     * please see {@link com.google.common.collect.testing.MapTestSuiteBuilder}.
     *
     * @author George van den Driessche
     * @author Chris Povirk
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 5.9K bytes
    - Click Count (0)
  2. guava/src/com/google/common/base/SmallCharMatcher.java

    import java.util.BitSet;
    
    /**
     * An immutable version of CharMatcher for smallish sets of characters that uses a hash table with
     * linear probing to check for matches.
     *
     * @author Christopher Swenson
     */
    @GwtIncompatible // no precomputation is done in GWT
    final class SmallCharMatcher extends NamedFastMatcher {
      static final int MAX_SIZE = 1023;
      private final char[] table;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 12 03:49:18 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/SingletonImmutableSet.java

    import com.google.common.base.Preconditions;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Implementation of {@link ImmutableSet} with exactly one element.
     *
     * @author Kevin Bourrillion
     * @author Nick Kralevich
     */
    @GwtCompatible
    @SuppressWarnings("serial") // uses writeReplace(), not default serialization
    final class SingletonImmutableSet<E> extends ImmutableSet<E> {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/BiMapGenerators.java

    import java.util.Map;
    import java.util.Map.Entry;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Generators of various {@link com.google.common.collect.BiMap}s and derived collections.
     *
     * @author Jared Levy
     * @author Hayward Chan
     */
    @GwtCompatible
    @NullMarked
    public class BiMapGenerators {
      public static class ImmutableBiMapGenerator extends TestStringBiMapGenerator {
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/hash/Murmur3_128HashFunction.java

    import java.nio.ByteOrder;
    import org.jspecify.annotations.Nullable;
    
    /**
     * See MurmurHash3_x64_128 in <a href="http://smhasher.googlecode.com/svn/trunk/MurmurHash3.cpp">the
     * C++ implementation</a>.
     *
     * @author Austin Appleby
     * @author Dimitris Andreou
     */
    @Immutable
    @SuppressWarnings("IdentifierName") // the best we could do for adjacent digit blocks
    final class Murmur3_128HashFunction extends AbstractHashFunction implements Serializable {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  6. build-logic-commons/code-quality-rules/src/main/resources/checkstyle/checkstyle-groovy.xml

    <!--
      ~ Copyright 2009 the original author or authors.
      ~
      ~ Licensed under the Apache License, Version 2.0 (the "License");
      ~ you may not use this file except in compliance with the License.
      ~ You may obtain a copy of the License at
      ~
      ~      http://www.apache.org/licenses/LICENSE-2.0
      ~
      ~ Unless required by applicable law or agreed to in writing, software
      ~ distributed under the License is distributed on an "AS IS" BASIS,
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 1.4K bytes
    - Click Count (0)
  7. docs/zh/docs/advanced/dataclasses.md

    1. 我们仍然从标准库的 `dataclasses` 导入 `field`。
    2. `pydantic.dataclasses` 是 `dataclasses` 的可直接替换版本。
    3. `Author` 数据类包含一个由 `Item` 数据类组成的列表。
    4. `Author` 数据类被用作 `response_model` 参数。
    5. 你可以将其它标准类型注解与数据类一起用作请求体。
    
       在本例中,它是一个 `Item` 数据类列表。
    6. 这里我们返回一个字典,里面的 `items` 是一个数据类列表。
    
       FastAPI 仍然能够将数据<dfn title="把数据转换为可以传输的格式">序列化</dfn>为 JSON。
    7. 这里的 `response_model` 使用了 “`Author` 数据类列表” 的类型注解。
    
       同样,你可以将 `dataclasses` 与标准类型注解组合使用。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java

    import java.util.concurrent.TimeUnit;
    import java.util.logging.Logger;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Utilities for performing thread interruption in tests
     *
     * @author Kevin Bourrillion
     * @author Chris Povirk
     */
    @NullUnmarked
    @GwtIncompatible
    @J2ktIncompatible
    final class InterruptionUtil {
      private static final Logger logger = Logger.getLogger(InterruptionUtil.class.getName());
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 15:38:30 GMT 2026
    - 3.4K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/graph/ForwardingValueGraph.java

    /**
     * A class to allow {@link ValueGraph} implementations to be backed by a provided delegate. This is
     * not currently planned to be released as a general-purpose forwarding class.
     *
     * @author James Sexton
     * @author Joshua O'Madadhain
     */
    abstract class ForwardingValueGraph<N, V> extends AbstractValueGraph<N, V> {
    
      abstract ValueGraph<N, V> delegate();
    
      @Override
      public Set<N> nodes() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.8K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/base/BenchmarkHelpers.java

     * the License.
     */
    
    package com.google.common.base;
    
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Common benchmarking utilities.
     *
     * @author Christopher Swenson
     * @author Louis Wasserman
     */
    @NullUnmarked
    final class BenchmarkHelpers {
      private static final String WHITESPACE_CHARACTERS =
          "\u00a0\u180e\u202f\t\n\013\f\r \u0085"
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 3.1K bytes
    - Click Count (0)
Back to Top