Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1031 - 1040 of 1,152 for Ensure (0.05 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CertificatePinner.kt

     *
     * ## Setting up Certificate Pinning
     *
     * The easiest way to pin a host is turn on pinning with a broken configuration and read the
     * expected configuration when the connection fails. Be sure to do this on a trusted network, and
     * without man-in-the-middle tools like [Charles][charles] or [Fiddler][fiddler].
     *
     * For example, to pin `https://publicobject.com`, start with a broken configuration:
     *
     * ```java
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 14.2K bytes
    - Click Count (1)
  2. impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

            setProjects(projects);
            this.repositorySystemSession = null;
        }
    
        /**
         * Adapt a {@link MavenExecutionRequest} to a {@link Settings} object for use in the Maven core.
         * We want to make sure that what is ask for in the execution request overrides what is in the settings.
         * The CLI feeds into an execution request so if a particular value is present in the execution request
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  3. android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

            .isEqualTo(new FreshValueGenerator().generateFresh(String.class));
      }
    
      public void testFreshCurrency() {
        FreshValueGenerator generator = new FreshValueGenerator();
        // repeat a few times to make sure we don't stumble upon a bad Locale
        assertThat(generator.generateFresh(Currency.class)).isNotNull();
        assertThat(generator.generateFresh(Currency.class)).isNotNull();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  4. cmd/os_unix.go

    // and returns nil.
    func osMkdirAll(dirPath string, perm os.FileMode, baseDir string) error {
    	if baseDir != "" {
    		if strings.HasPrefix(baseDir, dirPath) {
    			return nil
    		}
    	}
    
    	// Slow path: make sure parent exists and then call Mkdir for path.
    	i := len(dirPath)
    	for i > 0 && os.IsPathSeparator(dirPath[i-1]) { // Skip trailing path separator.
    		i--
    	}
    
    	j := i
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  5. 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.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 19.5K bytes
    - Click Count (0)
  6. 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;
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 24.7K bytes
    - Click Count (0)
  7. 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());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 19.6K bytes
    - Click Count (0)
  8. cmd/global-heal.go

    	if !found {
    		return errors.New("no local healing sequence initialized, unable to heal the drive")
    	}
    
    	scanMode := madmin.HealNormalScan
    
    	// Make sure to copy since `buckets slice`
    	// is modified in place by tracker.
    	healBuckets := make([]string, len(buckets))
    	copy(healBuckets, buckets)
    
    	objAPI := newObjectLayerFn()
    	if objAPI == nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Apr 04 13:49:12 GMT 2025
    - 16.2K bytes
    - Click Count (0)
  9. docs/en/docs/advanced/settings.md

    ### Install `pydantic-settings` { #install-pydantic-settings }
    
    First, make sure you create your [virtual environment](../virtual-environments.md), activate it, and then install the `pydantic-settings` package:
    
    <div class="termy">
    
    ```console
    $ pip install pydantic-settings
    ---> 100%
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  10. internal/ioutil/ioutil.go

    // this function to return error.
    //
    // This code is similar in spirit to io.Copy but it is only to be
    // used with DIRECT I/O based file descriptor and it is expected that
    // input writer *os.File not a generic io.Writer. Make sure to have
    // the file opened for writes with syscall.O_DIRECT flag.
    func CopyAligned(w io.Writer, r io.Reader, alignedBuf []byte, totalSize int64, file *os.File) (int64, error) {
    	if totalSize == 0 {
    		return 0, nil
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 11.1K bytes
    - Click Count (0)
Back to Top