Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 110 for TRAILING (0.16 sec)

  1. cmd/signature-v4-parser_test.go

    				t,
    				"LOCALKEY/DEV/1=",
    				sampleTimeStr,
    				"us-west-1",
    				"s3",
    				"aws4_request"),
    			expectedErrCode: ErrNone,
    		},
    		// Test Case - 12.
    		// Test case with right inputs but trailing `/`. Expected to return a valid CredentialHeader.
    		// "aws4_request" is the valid request version.
    		{
    			inputCredentialStr: generateCredentialStr(
    				"Z7IXGOO6BZ0REAN1Q26I",
    				sampleTimeStr,
    				"us-west-1",
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 10 18:57:35 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  2. cmd/utils.go

    		return true
    	}
    	cs, err := hash.GetContentChecksum(r.Header)
    	if err != nil {
    		return false
    	}
    	if cs == nil || !cs.Type.IsSet() {
    		return false
    	}
    	if cs.Valid() && !cs.Type.Trailing() {
    		r.Body = hash.NewChecker(r.Body, cs.Type.Hasher(), cs.Raw, r.ContentLength)
    	}
    	return true
    }
    
    // http://docs.aws.amazon.com/AmazonS3/latest/dev/UploadingObjects.html
    const (
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 33K bytes
    - Viewed (0)
  3. cmd/metacache-set.go

    	case metacacheSharePrefix:
    		return
    	case o.Prefix == o.BaseDir:
    		// No additional prefix
    		return
    	}
    	// Remove basedir.
    	o.FilterPrefix = strings.TrimPrefix(o.Prefix, o.BaseDir)
    	// Remove leading and trailing slashes.
    	o.FilterPrefix = strings.Trim(o.FilterPrefix, slashSeparator)
    
    	if strings.Contains(o.FilterPrefix, slashSeparator) {
    		// Sanity check, should not happen.
    		o.FilterPrefix = ""
    	}
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 30.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Iterables.java

       * @param size the desired size of each partition
       * @return an iterable of unmodifiable lists containing the elements of {@code iterable} divided
       *     into partitions (the final iterable may have trailing null elements)
       * @throws IllegalArgumentException if {@code size} is nonpositive
       */
      public static <T extends @Nullable Object> Iterable<List<@Nullable T>> paddedPartition(
          Iterable<T> iterable, int size) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 43.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbFile.java

     * to referencing files and directories, jCIFS can also address servers,
     * and workgroups.
     * <p>
     * <strong><i>Important: all SMB URLs that represent
     * workgroups, servers, shares, or directories require a trailing slash '/'.
     * </i></strong>
     * <p>
     * When using the {@code java.net.URL} class with
     * 'smb://' URLs it is necessary to first call the static
     * {@code jcifs.Config.registerSmbURLHandler();} method. This is required
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

        cache.close()
        writeFile(getCleanFile("k1", 0), "A")
        writeFile(getCleanFile("k1", 1), "B")
        filesystem.write(journalFile) {
          writeUtf8(
            // No trailing newline.
            """
            |${DiskLruCache.MAGIC}
            |${DiskLruCache.VERSION_1}
            |100
            |2
            |
            |CLEAN k1 1 1
            """.trimMargin(),
          )
        }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 01 12:18:11 UTC 2025
    - 59.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Iterators.java

       * @param size the desired size of each partition
       * @return an iterator of immutable lists containing the elements of {@code iterator} divided into
       *     partitions (the final iterable may have trailing null elements)
       * @throws IllegalArgumentException if {@code size} is nonpositive
       */
      public static <T extends @Nullable Object>
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 16 12:42:11 UTC 2025
    - 51.4K bytes
    - Viewed (0)
  8. cmd/erasure-object.go

    			if opts.EncryptFn != nil {
    				fi.Checksum = opts.EncryptFn("object-checksum", fi.Checksum)
    			}
    		}
    	} else if fi.Checksum == nil && opts.WantChecksum != nil {
    		// Trailing headers checksums should now be filled.
    		fi.Checksum = opts.WantChecksum.AppendTo(nil, nil)
    		if opts.EncryptFn != nil {
    			fi.Checksum = opts.EncryptFn("object-checksum", fi.Checksum)
    		}
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 24 04:05:31 UTC 2025
    - 80.4K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt

          }
        }
      }
    
      @Test
      fun parseTrimsAsciiWhitespace() {
        val expected = parse("http://host/")
        // Leading.
        assertThat(parse("http://host/\u000c\n\t \r")).isEqualTo(expected)
        // Trailing.
        assertThat(parse("\r\n\u000c \thttp://host/")).isEqualTo(expected)
        // Both.
        assertThat(parse(" http://host/ ")).isEqualTo(expected)
        // Both.
        assertThat(parse("    http://host/    ")).isEqualTo(expected)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Aug 04 07:38:48 UTC 2025
    - 69.9K bytes
    - Viewed (0)
  10. cmd/xl-storage.go

    		default:
    			return err
    		}
    	}
    	return nil
    }
    
    // ListDir - return all the entries at the given directory path.
    // If an entry is a directory it will be returned with a trailing SlashSeparator.
    func (s *xlStorage) ListDir(ctx context.Context, origvolume, volume, dirPath string, count int) (entries []string, err error) {
    	if contextCanceled(ctx) {
    		return nil, ctx.Err()
    	}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 91.7K bytes
    - Viewed (0)
Back to top