Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for Iterate (0.23 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

        } catch (UnsupportedOperationException expected) {
        }
      }
    
      /**
       * Verifies that an Iterator is unmodifiable.
       *
       * <p>This test only works with iterators that iterate over a finite set.
       */
      public static void assertIteratorIsUnmodifiable(Iterator<?> iterator) {
        while (iterator.hasNext()) {
          iterator.next();
          try {
            iterator.remove();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/custom-response.md

    2. By using a `with` block, we make sure that the file-like object is closed after the generator function is done. So, after it finishes sending the response.
    3. This `yield from` tells the function to iterate over that thing named `file_like`. And then, for each part iterated, yield that part as coming from this generator function (`iterfile`).
    
        So, it is a generator function that transfers the "generating" work to something else internally.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

            i += 4;
    
            assert i == body.length;
            return body;
        }
    
        /**
         * Build a CREATE response body with a single, unrecognized create context.
         * The parser should iterate it but produce an empty contexts array.
         */
        private static byte[] buildCreateBodyWithContext(byte[] fileId, int contextStartOffsetFromHeader) {
            // Base body part size (up to and including CreateContextsLength)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. cmd/object-handlers_test.go

    		contentLength int64
    		textData      []byte
    		metaData      map[string]string
    	}{
    		{bucketName, objectName, int64(len(bytesData[0].byteData)), bytesData[0].byteData, make(map[string]string)},
    	}
    	// iterate through the above set of inputs and upload the object.
    	for i, input := range putObjectInputs {
    		// uploading the object.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 163.1K bytes
    - Viewed (0)
  5. cmd/postpolicyform.go

    	for key, values := range formValues {
    		if keyInPolicyExceptions[key] || strings.HasPrefix(key, "X-Ignore-") {
    			continue
    		}
    		mustFindInPolicy[key] = values
    	}
    
    	// Iterate over policy conditions and check them against received form fields
    	for _, policy := range postPolicyForm.Conditions.Policies {
    		// Form fields names are in canonical format, convert conditions names
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/path-operation-advanced-configuration.md

    ### Using the *path operation function* name as the operationId { #using-the-path-operation-function-name-as-the-operationid }
    
    If you want to use your APIs' function names as `operationId`s, you can iterate over all of them and override each *path operation's* `operation_id` using their `APIRoute.name`.
    
    You should do it after adding all your *path operations*.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/query-params-str-validations.md

    {* ../../docs_src/query_params_str_validations/tutorial015_an_py310.py ln[16:19] hl[17] *}
    
    #### A Random Item { #a-random-item }
    
    With `data.items()` we get an <abbr title="Something we can iterate on with a for loop, like a list, set, etc.">iterable object</abbr> with tuples containing the key and value for each dictionary item.
    
    We convert this iterable object into a proper `list` with `list(data.items())`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

         */
        private void removeIdleConnections() {
            long now = System.currentTimeMillis();
            List<SmbTransportImpl> idle = new ArrayList<>();
    
            // Iterate through connections without synchronization - ConcurrentLinkedQueue is thread-safe
            for (SmbTransportImpl transport : connections) {
                try {
                    // Check if connection has been idle too long
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  9. cmd/s3-zip-handlers.go

    	var (
    		count           int
    		isTruncated     bool
    		nextToken       string
    		listObjectsInfo ListObjectsV2Info
    	)
    
    	// Always set this
    	listObjectsInfo.ContinuationToken = token
    
    	// Open and iterate through the files in the archive.
    	for _, file := range files {
    		objName := zipObjInfo.Name + archiveSeparator + file.Name
    		if objName <= startAfter || objName <= token {
    			continue
    		}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  10. cmd/utils.go

    			return ""
    		}
    		// maximum possible length
    		maxl := min(strl, xfixl)
    		// compare letters
    		if pre {
    			// prefix, iterate left to right
    			for i := range maxl {
    				if xfix[i] != str[i] {
    					xfix = xfix[:i]
    					break
    				}
    			}
    		} else {
    			// suffix, iterate right to left
    			for i := range maxl {
    				xi := xfixl - i - 1
    				si := strl - i - 1
    				if xfix[xi] != str[si] {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 33K bytes
    - Viewed (0)
Back to top