Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 33 for views (0.15 sec)

  1. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 56.5K bytes
    - Viewed (0)
  2. docs/en/docs/help-fastapi.md

    * If the PR can be simplified in a way, you can ask for that, but there's no need to be too picky, there might be a lot of subjective points of view (and I will have my own as well 🙈), so it's better if you can focus on the fundamental things.
    
    ### Tests
    
    * Help me check that the PR has **tests**.
    
    * Check that the tests **fail** before the PR. 🚨
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ListsTest.java

        assertFalse(partitions.get(0) instanceof RandomAccess);
        assertFalse(partitions.get(1) instanceof RandomAccess);
      }
    
      // TODO: use the ListTestSuiteBuilder
    
      public void testPartition_view() {
        List<Integer> list = asList(1, 2, 3);
        List<List<Integer>> partitions = Lists.partition(list, 3);
    
        // Changes before the partition is retrieved are reflected
        list.set(0, 3);
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
  4. docs/vi/docs/python-types.md

        {!> ../../../docs_src/python_types/tutorial009b.py!}
        ```
    
    #### Sử dụng `Union` hay `Optional`
    
    If you are using a Python version below 3.10, here's a tip from my very **subjective** point of view:
    
    Nếu bạn đang sử dụng phiên bản Python dưới 3.10, đây là một mẹo từ ý kiến rất "chủ quan" của tôi:
    
    * 🚨 Tránh sử dụng `Optional[SomeType]`
    * Thay vào đó ✨ **sử dụng `Union[SomeType, None]`** ✨.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 21.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ListsTest.java

        assertFalse(partitions.get(0) instanceof RandomAccess);
        assertFalse(partitions.get(1) instanceof RandomAccess);
      }
    
      // TODO: use the ListTestSuiteBuilder
    
      public void testPartition_view() {
        List<Integer> list = asList(1, 2, 3);
        List<List<Integer>> partitions = Lists.partition(list, 3);
    
        // Changes before the partition is retrieved are reflected
        list.set(0, 3);
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
  6. docs/en/docs/python-types.md

        {!> ../../../docs_src/python_types/tutorial009b.py!}
        ```
    
    #### Using `Union` or `Optional`
    
    If you are using a Python version below 3.10, here's a tip from my very **subjective** point of view:
    
    * 🚨 Avoid using `Optional[SomeType]`
    * Instead ✨ **use `Union[SomeType, None]`** ✨.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17K bytes
    - Viewed (0)
  7. docs/changelogs/changelog_4x.md

     *  New: Require Kotlin 1.3.40.
     *  New: Change the Kotlin API from `File.toRequestBody()` to `File.asRequestBody()` and
        `BufferedSource.toResponseBody()` to `BufferedSource.asResponseBody()`. If the returned value
        is a view of what created it, we use _as_.
     *  Fix: Permit response codes of zero for compatibility with OkHttp 3.x.
     *  Fix: Change the return type of `MockWebServer.takeRequest()` to be nullable.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableMap.java

      // cached so that this.multimapView().inverse() only computes inverse once
      @LazyInit @CheckForNull private transient ImmutableSetMultimap<K, V> multimapView;
    
      /**
       * Returns a multimap view of the map.
       *
       * @since 14.0
       */
      public ImmutableSetMultimap<K, V> asMultimap() {
        if (isEmpty()) {
          return ImmutableSetMultimap.of();
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  9. CREDITS

    CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
    ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
    THE POSSIBILITY OF SUCH DAMAGE.
    
    The views and conclusions contained in the software and documentation
    are those of the authors and should not be interpreted as representing
    official policies, either expressed or implied, of Richard Crowley.
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 06:31:35 GMT 2024
    - 1.6M bytes
    - Viewed (0)
  10. 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)
Back to top