Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 941 - 950 of 962 for Ensure (0.13 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. tensorflow/c/eager/c_api.cc

      }
      std::vector<int64_t> dimvec(num_dims);
      for (int i = 0; i < num_dims; ++i) {
        dimvec[i] = static_cast<int64_t>(dims[i]);
      }
    
      // TODO(apassos) do we need to wrap the deallocator here to make sure to sync
      // the device?
      TF_ManagedBuffer* buf =
          new TF_ManagedBuffer(data, len, deallocator, deallocator_arg,
                               /*owns_memory=*/false);
    
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Fri Nov 07 05:55:21 GMT 2025
    - 43.9K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertThat(localCacheTwo.removalListener).isEqualTo(localCacheOne.removalListener);
        assertThat(localCacheTwo.ticker).isEqualTo(localCacheOne.ticker);
    
        // serialize the reconstituted version to be sure we haven't lost the ability to reserialize
        LocalLoadingCache<Object, Object> three = SerializableTester.reserialize(two);
        LocalCache<Object, Object> localCacheThree = three.localCache;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 114.9K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertThat(localCacheTwo.removalListener).isEqualTo(localCacheOne.removalListener);
        assertThat(localCacheTwo.ticker).isEqualTo(localCacheOne.ticker);
    
        // serialize the reconstituted version to be sure we haven't lost the ability to reserialize
        LocalLoadingCache<Object, Object> three = SerializableTester.reserialize(two);
        LocalCache<Object, Object> localCacheThree = three.localCache;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 116.4K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/collect/IterablesTest.java

        Queue<Integer> queue = new UnIterableQueue<>(new LinkedList<>(asList(5, 14)));
    
        Iterator<Integer> consumingIterator = Iterables.consumingIterable(queue).iterator();
        /*
         * Make sure that we can get an element off without calling
         * UnIterableQueue.iterator().
         */
        assertEquals(5, consumingIterator.next().intValue());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 47.5K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/ImmutableSortedMap.java

        return keySet.descendingSet();
      }
    
      /**
       * Serialized type for all ImmutableSortedMap instances. It captures the logical contents and they
       * are reconstructed using public factory methods. This ensures that the implementation types
       * remain as implementation details.
       */
      @J2ktIncompatible // serialization
      private static final class SerializedForm<K, V> extends ImmutableMap.SerializedForm<K, V> {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 52.1K bytes
    - Click Count (0)
  6. internal/config/config.go

    	}
    	if !isFound {
    		return value, cs, isRedacted
    	}
    
    	if target == "" {
    		target = Default
    	}
    
    	if redactSecrets {
    		// If the configuration parameter is a secret, make sure to redact it when
    		// we return.
    		helpKV, _ := HelpSubSysMap[subSys].Lookup(cfgParam)
    		if helpKV.Secret {
    			defer func() {
    				value = ""
    				isRedacted = true
    			}()
    		}
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 37.7K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/net/MediaType.java

       * name within that type. The constant name should be a sensible identifier that is closest to the
       * "common name" of the media. This is often, but not necessarily the same as the subtype.
       *
       * Be sure to declare all constants with the type and subtype in all lowercase. For types that
       * take a charset (e.g. all text/* types), default to UTF-8 and suffix the constant name with
       * "_UTF_8".
       */
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 02 01:46:40 GMT 2025
    - 48K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb/SmbTransportImpl.java

                    } else if (last == null) {
                        // don't have enough credits/space for the first request, block until available
                        // for space there is nothing we can do, callers need to make sure that a single message fits
    
                        try {
                            final long timeout = getResponseTimeout(chain);
                            if (params.contains(RequestParam.NO_TIMEOUT)) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 69.8K bytes
    - Click Count (0)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

            RootLocator rootLocator =
                    ServiceLoader.load(RootLocator.class).iterator().next();
            cliRequest.rootDirectory = rootLocator.findRoot(topDirectory);
    
            //
            // Make sure the Maven home directory is an absolute path to save us from confusion with say drive-relative
            // Windows paths.
            //
            String mavenHome = System.getProperty(Constants.MAVEN_HOME);
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 78.1K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/math/LongMath.java

       */
      @VisibleForTesting
      static int lessThanBranchFree(long x, long y) {
        // The double negation is optimized away by normal Java, but is necessary for GWT
        // to make sure bit twiddling works as expected.
        return (int) (~~(x - y) >>> (Long.SIZE - 1));
      }
    
      /**
       * Returns the base-2 logarithm of {@code x}, rounded according to the specified rounding mode.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 09 23:01:02 GMT 2026
    - 46.8K bytes
    - Click Count (0)
Back to Top