Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 325 for caps (0.01 sec)

  1. tests/lru_test.go

    		t.Fatalf("should be empty")
    	}
    	if ok {
    		t.Fatalf("should be false")
    	}
    }
    
    func TestLRURemoveOldest(t *testing.T) {
    	lc := lru.NewLRU[string, string](2, nil, 0)
    
    	if lc.Cap() != 2 {
    		t.Fatalf("expect cap is 2")
    	}
    
    	k, v, ok := lc.RemoveOldest()
    	if k != "" {
    		t.Fatalf("should be empty")
    	}
    	if v != "" {
    		t.Fatalf("should be empty")
    	}
    	if ok {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  2. cmd/admin-heal-ops.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"maps"
    	"net/http"
    	"sort"
    	"sync"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/minio/minio/internal/logger"
    )
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/MapMaker.java

     * entry's state at the time of retrieval; such entries do, however, support {@link
     * Map.Entry#setValue}, which simply calls {@link Map#put} on the entry's key.
     *
     * <p>The maps produced by {@code MapMaker} are serializable, and the deserialized maps retain all
     * the configuration properties of the original map. During deserialization, if the original map had
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/TestStringMapGenerator.java

    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Implementation helper for {@link TestMapGenerator} for use with maps of strings.
     *
     * @author Chris Povirk
     * @author Jared Levy
     * @author George van den Driessche
     */
    @GwtCompatible
    @NullMarked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. cmd/bucket-policy.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"encoding/json"
    	"maps"
    	"net/http"
    	"net/url"
    	"strconv"
    	"strings"
    	"time"
    
    	jsoniter "github.com/json-iterator/go"
    	miniogopolicy "github.com/minio/minio-go/v7/pkg/policy"
    	"github.com/minio/minio-go/v7/pkg/tags"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/EmptyCachesTest.java

    import com.google.common.cache.LocalCache.Strength;
    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.Iterables;
    import com.google.common.collect.Maps;
    import com.google.common.testing.EqualsTester;
    import java.util.Collection;
    import java.util.Map.Entry;
    import java.util.Set;
    import java.util.concurrent.ExecutionException;
    import junit.framework.TestCase;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

        // TODO(cgruber): Confirm with fry@ that this is a reasonable substitute.
        // Set<Entry<Object, Object>> entries = map.entrySet();
        // assertThat(entries).containsExactly(
        //    Maps.immutableEntry(three, one), Maps.immutableEntry(one, two));
        // Set<Object> keys = map.keySet();
        // assertThat(keys).containsExactly(one, three);
        // Collection<Object> values = map.values();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/TestSortedMapGenerator.java

    import com.google.common.annotations.GwtCompatible;
    import java.util.Map.Entry;
    import java.util.SortedMap;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Creates sorted maps, containing sample elements, to be tested.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @NullMarked
    public interface TestSortedMapGenerator<K extends @Nullable Object, V extends @Nullable Object>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. docs/es/docs/advanced/using-request-directly.md

    Pero hay situaciones donde podrĂ­as necesitar acceder al objeto `Request` directamente.
    
    ## Detalles sobre el objeto `Request`
    
    Como **FastAPI** es en realidad **Starlette** por debajo, con una capa de varias herramientas encima, puedes usar el objeto <a href="https://www.starlette.io/requests/" class="external-link" target="_blank">`Request`</a> de Starlette directamente cuando lo necesites.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/TestStringSortedMapGenerator.java

    import java.util.List;
    import java.util.Map.Entry;
    import java.util.SortedMap;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Implementation helper for {@link TestMapGenerator} for use with sorted maps of strings.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    @NullMarked
    public abstract class TestStringSortedMapGenerator extends TestStringMapGenerator
        implements TestSortedMapGenerator<String, String> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top