Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 231 for Extract (0.18 sec)

  1. android/guava/src/com/google/common/io/BaseEncoding.java

            return encodingStream(encodedSink.openStream());
          }
        };
      }
    
      // TODO(lowasser): document the extent of leniency, probably after adding ignore(CharMatcher)
    
      private static byte[] extract(byte[] result, int length) {
        if (length == result.length) {
          return result;
        }
        byte[] trunc = new byte[length];
        System.arraycopy(result, 0, trunc, 0, length);
        return trunc;
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Mar 15 16:33:32 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  2. pilot/pkg/networking/grpcgen/grpcgen_test.go

    			TypeUrl: v3.ListenerType,
    		})
    
    		msg, err := adscConn.WaitVersion(5*time.Second, v3.ListenerType, "")
    		if err != nil {
    			t.Fatal("Failed to receive lds", err)
    		}
    		// Extract the cookie name from 4 layers of marshaling...
    		hcm := &hcm.HttpConnectionManager{}
    		ss := &statefulsession.StatefulSession{}
    		sc := &cookiev3.CookieBasedSessionState{}
    		filterIndex := -1
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 09:04:02 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/reflect/Types.java

      static Class<?> getArrayClass(Class<?> componentType) {
        // TODO(user): This is not the most efficient way to handle generic
        // arrays, but is there another way to extract the array class in a
        // non-hacky way (i.e. using String value class names- "[L...")?
        return Array.newInstance(componentType, 0).getClass();
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 17 16:33:44 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/ModelRuleExtractor.java

         * Creates a new rule source instance to be applied to a model element.
         *
         * @throws InvalidModelRuleDeclarationException On badly formed rule source class.
         */
        public <T> ExtractedRuleSource<T> extract(Class<T> source) throws InvalidModelRuleDeclarationException {
            try {
                return cache.get(source).newInstance(source);
            } catch (ExecutionException e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 26K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/main.go

    		f, err := os.Create(*memprofile)
    		if err != nil {
    			log.Fatalf("%v", err)
    		}
    		AtExit(func() {
    			// Profile all outstanding allocations.
    			runtime.GC()
    			// compilebench parses the memory profile to extract memstats,
    			// which are only written in the legacy pprof format.
    			// See golang.org/issue/18641 and runtime/pprof/pprof.go:writeHeap.
    			const writeLegacyFormat = 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:59:50 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  6. platforms/software/maven/src/main/java/org/gradle/api/publish/maven/internal/publication/MavenComponentParser.java

    import java.util.Map;
    import java.util.Objects;
    import java.util.Set;
    import java.util.function.Consumer;
    import java.util.stream.Collectors;
    import java.util.stream.Stream;
    
    /**
     * Encapsulates all logic required to extract data from a {@link SoftwareComponentInternal} in order to
     * transform it to a representation compatible with Maven.
     */
    public class MavenComponentParser {
        @VisibleForTesting
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 27 18:52:27 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  7. pkg/scheduler/scheduler.go

    	}
    	informer := coreinformers.NewFilteredPodInformer(cs, metav1.NamespaceAll, resyncPeriod, cache.Indexers{}, tweakListOptions)
    
    	// Dropping `.metadata.managedFields` to improve memory usage.
    	// The Extract workflow (i.e. `ExtractPod`) should be unused.
    	trim := func(obj interface{}) (interface{}, error) {
    		if accessor, err := meta.Accessor(obj); err == nil {
    			if accessor.GetManagedFields() != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/BaseEncoding.java

            return encodingStream(encodedSink.openStream());
          }
        };
      }
    
      // TODO(lowasser): document the extent of leniency, probably after adding ignore(CharMatcher)
    
      private static byte[] extract(byte[] result, int length) {
        if (length == result.length) {
          return result;
        }
        byte[] trunc = new byte[length];
        System.arraycopy(result, 0, trunc, 0, length);
        return trunc;
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Mar 15 16:33:32 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  9. internal/bucket/object/lock/lock.go

    func IsObjectLockRequested(h http.Header) bool {
    	return IsObjectLockLegalHoldRequested(h) || IsObjectLockRetentionRequested(h)
    }
    
    // ParseObjectLockRetentionHeaders parses http headers to extract retention mode and retention date
    func ParseObjectLockRetentionHeaders(h http.Header) (rmode RetMode, r RetentionDate, err error) {
    	retMode := h.Get(AmzObjectLockMode)
    	dateStr := h.Get(AmzObjectLockRetainUntilDate)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

       */
      public static <E> ConcurrentHashMultiset<E> create() {
        // TODO(schmoe): provide a way to use this class with other (possibly arbitrary)
        // ConcurrentMap implementors. One possibility is to extract most of this class into
        // an AbstractConcurrentMapMultiset.
        return new ConcurrentHashMultiset<>(new ConcurrentHashMap<E, AtomicInteger>());
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 20.9K bytes
    - Viewed (0)
Back to top