Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 25 for views (0.17 sec)

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

        /* No aliasing on inverse operations. */
        assertSame(unmod.inverse(), unmod.inverse());
        assertSame(unmod, unmod.inverse().inverse());
    
        /* Unmodifiable is a view. */
        mod.put(4, "four");
        assertEquals(true, unmod.get(4).equals("four"));
        assertEquals(true, unmod.inverse().get("four").equals(4));
    
        /* UnsupportedOperationException on direct modifications. */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/IteratorsTest.java

            Iterator<Integer> source = Iterators.forArray(1, 2, 3, 4, 5, 6, 7);
            return Iterators.partition(source, 3);
          }
        }.test();
      }
    
      public void testPartition_view() {
        List<Integer> list = asList(1, 2);
        Iterator<List<Integer>> partitions = Iterators.partition(list.iterator(), 1);
    
        // Changes before the partition is retrieved are reflected
        list.set(0, 3);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 55.7K bytes
    - Viewed (0)
  3. tensorflow/BUILD

    # To learn more about import library (called interface library in Bazel):
    #     https://docs.microsoft.com/en-us/cpp/build/linking-an-executable-to-a-dll?view=vs-2017#linking-implicitly
    filegroup(
        name = "get_tensorflow_dll_import_lib",
        srcs = ["//tensorflow:tensorflow.dll"],
        output_group = "interface_library",
        visibility = ["//visibility:public"],
    )
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 09 18:15:11 GMT 2024
    - 53.4K bytes
    - Viewed (8)
  4. guava-tests/test/com/google/common/collect/SetsTest.java

        TreeSet<Integer> mod = Sets.newTreeSet();
        mod.add(1);
        mod.add(2);
        mod.add(3);
    
        NavigableSet<Integer> unmod = unmodifiableNavigableSet(mod);
    
        /* Unmodifiable is a view. */
        mod.add(4);
        assertTrue(unmod.contains(4));
        assertTrue(unmod.descendingSet().contains(4));
    
        ensureNotDirectlyModifiable(unmod);
        ensureNotDirectlyModifiable(unmod.descendingSet());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        assertSame(refreshKey, map.get(refreshKey));
    
        // let computation complete
        letGetFinishSignal.countDown();
        getFinishedSignal.await();
        checkNothingLogged();
    
        // asMap view should have been updated
        assertEquals(2, cache.size());
        assertEquals(getKey + suffix, map.get(getKey));
        assertEquals(refreshKey + suffix, map.get(refreshKey));
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  6. cmd/admin-handlers-users.go

    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(s3Err), r.URL)
    		return
    	}
    
    	checkDenyOnly := false
    	if name == cred.AccessKey {
    		// Check that there is no explicit deny - otherwise it's allowed
    		// to view one's own info.
    		checkDenyOnly = true
    	}
    
    	if !globalIAMSys.IsAllowed(policy.Args{
    		AccountName:     cred.AccessKey,
    		Groups:          cred.Groups,
    		Action:          policy.GetUserAdminAction,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

         * make sure they see a consistent snapshot: If modCounts change during a traversal of segments
         * computing size or checking containsValue, then we might have an inconsistent view of state so
         * (usually) must retry.
         */
        int modCount;
    
        /**
         * The table is expanded when its size exceeds this threshold. (The value of this field is
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        assertSame(refreshKey, map.get(refreshKey));
    
        // let computation complete
        letGetFinishSignal.countDown();
        getFinishedSignal.await();
        checkNothingLogged();
    
        // asMap view should have been updated
        assertEquals(2, cache.size());
        assertEquals(getKey + suffix, map.get(getKey));
        assertEquals(refreshKey + suffix, map.get(refreshKey));
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  9. cmd/erasure-server-pool.go

    		//
    		// GET /testbucket/?list-type=2&delimiter=%2F&max-keys=2&prefix=parquet%2F_SUCCESS%2F&fetch-owner=false
    		//
    		// Here spark is expecting that the List() return empty instead, so from MinIO's point
    		// of view if we simply do a GetObjectInfo() on this prefix by treating it as an object
    		// We save a lot of calls over the network.
    		//
    		// This happens repeatedly for all objects that are created concurrently() avoiding this
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/filesystem/filesystem_interface.h

    /// each of these functions is a pointer to the paired struct and this argument
    /// can be used to track state in between calls (from an object oriented point
    /// of view, this can be viewed as a "vtable" for a "class" -- that is the
    /// corresponding struct above --; the first argument is in place of `this`).
    ///
    /// Except where noted otherwise, all pointer arguments are owned by core
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
Back to top