Search Options

Results per page
Sort
Preferred Languages
Advance

Results 791 - 800 of 920 for Ensure (0.05 sec)

  1. src/archive/tar/strconv.go

    	// Because unused fields are filled with NULs, we need
    	// to skip leading NULs. Fields may also be padded with
    	// spaces or NULs.
    	// So we remove leading and trailing NULs and spaces to
    	// be sure.
    	b = bytes.Trim(b, " \x00")
    
    	if len(b) == 0 {
    		return 0
    	}
    	x, perr := strconv.ParseUint(p.parseString(b), 8, 64)
    	if perr != nil {
    		p.err = ErrHeader
    	}
    	return int64(x)
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 01 14:28:42 UTC 2023
    - 9K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

        public Set<Object> create(Object... elements) {
          return ImmutableSet.copyOf(elements);
        }
      }
    
      public static class DegeneratedImmutableSetGenerator extends TestStringSetGenerator {
        // Make sure we get what we think we're getting, or else this test
        // is pointless
        @SuppressWarnings("cast")
        @Override
        protected Set<String> create(String[] elements) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java

        ContiguousSet<Integer> regular = ContiguousSet.create(Range.closed(1, 3), integers());
        assertTrue(regular instanceof RegularContiguousSet);
        reserializeAndAssert(regular);
    
        /*
         * Make sure that we're using RegularContiguousSet.SerializedForm and not
         * ImmutableSet.SerializedForm, which would be enormous.
         */
        ContiguousSet<Integer> enormous = ContiguousSet.create(Range.<Integer>all(), integers());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 19K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/security/simple-oauth2.md

    ```
    
    ////
    
    /// tip
    
    By the spec, you should return a JSON with an `access_token` and a `token_type`, the same as in this example.
    
    This is something that you have to do yourself in your code, and make sure you use those JSON keys.
    
    It's almost the only thing that you have to remember to do correctly yourself, to be compliant with the specifications.
    
    For the rest, **FastAPI** handles it for you.
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/io/TempFileCreator.java

            return (String) requireNonNull(orElseMethod.invoke(user, fromSystemProperty));
          } catch (ClassNotFoundException runningUnderAndroidOrJava8) {
            /*
             * I'm not sure that we could actually get here for *Android*: I would expect us to enter
             * the POSIX code path instead. And if we tried this code path, we'd have trouble unless we
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 06 17:11:11 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  6. src/cmd/cgo/doc.go

    	// freed, such as by calling C.free (be sure to include stdlib.h
    	// if C.free is needed).
    	func C.CString(string) *C.char
    
    	// Go []byte slice to C array
    	// The C array is allocated in the C heap using malloc.
    	// It is the caller's responsibility to arrange for it to be
    	// freed, such as by calling C.free (be sure to include stdlib.h
    	// if C.free is needed).
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Oct 01 22:52:54 UTC 2024
    - 44K bytes
    - Viewed (0)
  7. cmd/signature-v2.go

    	if accessKey == "" || gotSignature == "" || expires == "" {
    		return ErrInvalidQueryParams
    	}
    
    	cred, _, s3Err := checkKeyValid(r, accessKey)
    	if s3Err != ErrNone {
    		return s3Err
    	}
    
    	// Make sure the request has not expired.
    	expiresInt, err := strconv.ParseInt(expires, 10, 64)
    	if err != nil {
    		return ErrMalformedExpires
    	}
    
    	// Check if the presigned URL has expired.
    	if expiresInt < UTCNow().Unix() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Multiset.java

      int add(@ParametricNullness E element, int occurrences);
    
      /**
       * Adds a single occurrence of the specified element to this multiset.
       *
       * <p>This method refines {@link Collection#add}, which only <i>ensures</i> the presence of the
       * element, to further specify that a successful call must always increment the count of the
       * element, and the overall size of the collection, by one.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/CompactHashSet.java

        }
        Set<E> delegate = delegateOrNull();
        return (delegate != null)
            ? delegate.toArray(a)
            : ObjectArrays.toArrayImpl(requireElements(), 0, size, a);
      }
    
      /**
       * Ensures that this {@code CompactHashSet} has the smallest representation in memory, given its
       * current size.
       */
      public void trimToSize() {
        if (needsAllocArrays()) {
          return;
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

            ArtifactHandler handler = newHandler(artifact);
    
            /*
             * NOTE: From Artifact.hasClassifier(), an empty string and a null both denote "no classifier". However, some
             * plugins only check for null, so be sure to nullify an empty classifier.
             */
            org.apache.maven.artifact.Artifact result = new org.apache.maven.artifact.DefaultArtifact(
                    artifact.getGroupId(),
                    artifact.getArtifactId(),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
Back to top