Search Options

Results per page
Sort
Preferred Languages
Advance

Results 561 - 570 of 651 for iterators (0.09 sec)

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

        for (int i = 0; i < 3; i++) {
          assertEquals(i + 1, list.get(i).intValue());
        }
        assertEquals(ImmutableList.of(1, 2, 3), ImmutableList.copyOf(list.iterator()));
        assertEquals(ImmutableList.of(1, 2, 3), ImmutableList.copyOf(list.toArray(new Integer[0])));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // suite
      public static class BuiltTests extends TestCase {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

        private final ImmutableIntArray parent;
    
        private AsList(ImmutableIntArray parent) {
          this.parent = parent;
        }
    
        // inherit: isEmpty, containsAll, toArray x2, iterator, listIterator, stream, forEach, mutations
    
        @Override
        public int size() {
          return parent.length();
        }
    
        @Override
        public Integer get(int index) {
          return parent.get(index);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableBiMap.java

       * contains entries with duplicate keys (for example, if it is a {@code SortedMap} whose
       * comparator is not <i>consistent with equals</i>), the results of this method are undefined.
       *
       * <p>The returned {@code BiMap} iterates over entries in the same order as the {@code entrySet}
       * of the original map.
       *
       * <p>Despite the method name, this method attempts to avoid actually copying the data when it is
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/custom-response.md

    ```Python hl_lines="2  7  9"
    {!../../docs_src/custom_response/tutorial006c.py!}
    ```
    
    ### `StreamingResponse`
    
    Takes an async generator or a normal generator/iterator and streams the response body.
    
    ```Python hl_lines="2  14"
    {!../../docs_src/custom_response/tutorial007.py!}
    ```
    
    #### Using `StreamingResponse` with file-like objects
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12K bytes
    - Viewed (0)
  5. internal/jwt/parser.go

    	"encoding/base64"
    	"errors"
    	"fmt"
    	"hash"
    	"sync"
    	"time"
    
    	"github.com/buger/jsonparser"
    	"github.com/dustin/go-humanize"
    	jwtgo "github.com/golang-jwt/jwt/v4"
    	jsoniter "github.com/json-iterator/go"
    )
    
    // SigningMethodHMAC - Implements the HMAC-SHA family of signing methods signing methods
    // Expects key type of []byte for both signing and validation
    type SigningMethodHMAC struct {
    	Name       string
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 17 16:45:46 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. cmd/xl-storage-format-v1.go

    package cmd
    
    import (
    	"encoding/binary"
    	"encoding/hex"
    	"encoding/json"
    	"fmt"
    	"time"
    
    	"github.com/cespare/xxhash/v2"
    	jsoniter "github.com/json-iterator/go"
    )
    
    // XL constants.
    const (
    	// XL metadata file carries per object metadata.
    	xlStorageFormatFileV1 = "xl.json"
    )
    
    // Valid - tells us if the format is sane by validating
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbEnumerationUtil.java

            }
            catch ( IOException ioe ) {
                log.debug("doNetShareEnum failed", ioe);
                throw new SmbException(u.toString(), ioe);
            }
            return new ShareEnumIterator(parent, set.iterator(), ff);
        }
    
    
        @SuppressWarnings ( "resource" )
        static CloseableIterator<SmbResource> doEnum ( SmbFile parent, String wildcard, int searchAttributes, ResourceNameFilter fnf, ResourceFilter ff )
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jul 20 08:41:19 UTC 2019
    - 12.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/CharSourceTest.java

        assertEquals(expected, CharSource.concat(ImmutableList.of(c1, c2, c3)).read());
        assertEquals(expected, CharSource.concat(c1, c2, c3).read());
        assertEquals(expected, CharSource.concat(ImmutableList.of(c1, c2, c3).iterator()).read());
        assertFalse(CharSource.concat(c1, c2, c3).isEmpty());
    
        CharSource emptyConcat = CharSource.concat(CharSource.empty(), CharSource.empty());
        assertTrue(emptyConcat.isEmpty());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/ACE.java

        /**
         * Returns the access mask associated with this ACE. Use the
         * constants for <tt>FILE_READ_DATA</tt>, <tt>FILE_WRITE_DATA</tt>,
         * <tt>READ_CONTROL</tt>, <tt>GENERIC_ALL</tt>, etc with bitwise
         * operators to determine which bits of the mask are on or off.
         * 
         * @return the access mask
         */
        int getAccessMask ();
    
    
        /**
         * Returns the 'Apply To' text for inheritance of ACEs on
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.5K bytes
    - Viewed (0)
  10. go.mod

    	github.com/gobwas/ws v1.4.0
    	github.com/golang-jwt/jwt/v4 v4.5.0
    	github.com/gomodule/redigo v1.9.2
    	github.com/google/uuid v1.6.0
    	github.com/inconshreveable/mousetrap v1.1.0
    	github.com/json-iterator/go v1.1.12
    	github.com/klauspost/compress v1.17.10
    	github.com/klauspost/cpuid/v2 v2.2.8
    	github.com/klauspost/filepathx v1.1.1
    	github.com/klauspost/pgzip v1.2.6
    	github.com/klauspost/readahead v1.4.0
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 11.1K bytes
    - Viewed (0)
Back to top