Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 211 for refcount (2.32 sec)

  1. guava/src/com/google/common/collect/RegularImmutableSortedMultiset.java

        this.offset = offset;
        this.length = length;
      }
    
      private int getCount(int index) {
        return (int) (cumulativeCounts[offset + index + 1] - cumulativeCounts[offset + index]);
      }
    
      @Override
      Entry<E> getEntry(int index) {
        return Multisets.immutableEntry(elementSet.asList().get(index), getCount(index));
      }
    
      @Override
      public void forEachEntry(ObjIntConsumer<? super E> action) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. pkg/test/echo/common/util.go

    	request.Count = int32(GetCount(request))
    }
    
    // GetTimeout returns the timeout value as a time.Duration or DefaultRequestTimeout if not set.
    func GetTimeout(request *proto.ForwardEchoRequest) time.Duration {
    	timeout := MicrosToDuration(request.TimeoutMicros)
    	if timeout == 0 {
    		timeout = DefaultRequestTimeout
    	}
    	return timeout
    }
    
    // GetCount returns the count value or DefaultCount if not set.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 01 01:05:45 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskPropertiesIntegrationTest.groovy

            given:
            buildFile << """
                abstract class MyTask extends DefaultTask {
                    @Internal
                    abstract Property<Integer> getCount()
    
                    @TaskAction
                    void go() {
                        println("count = \${count.get()}")
                    }
                }
    
                tasks.create("thing", MyTask) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingSortedMultiset.java

        if (!entryIterator.hasNext()) {
          return null;
        }
        Entry<E> entry = entryIterator.next();
        return Multisets.immutableEntry(entry.getElement(), entry.getCount());
      }
    
      @Override
      @CheckForNull
      public Entry<E> lastEntry() {
        return delegate().lastEntry();
      }
    
      /**
       * A sensible definition of {@link #lastEntry()} in terms of {@code
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableMultiset.java

      public final boolean setCount(E element, int oldCount, int newCount) {
        throw new UnsupportedOperationException();
      }
    
      @GwtIncompatible // not present in emulated superclass
      @Override
      int copyIntoArray(@Nullable Object[] dst, int offset) {
        for (Multiset.Entry<E> entry : entrySet()) {
          Arrays.fill(dst, offset, offset + entry.getCount(), entry.getElement());
          offset += entry.getCount();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 08 03:01:02 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ForwardingSortedMultiset.java

        if (!entryIterator.hasNext()) {
          return null;
        }
        Entry<E> entry = entryIterator.next();
        return Multisets.immutableEntry(entry.getElement(), entry.getCount());
      }
    
      @Override
      @CheckForNull
      public Entry<E> lastEntry() {
        return delegate().lastEntry();
      }
    
      /**
       * A sensible definition of {@link #lastEntry()} in terms of {@code
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  7. operator/pkg/verifier/verifier.go

    	var revision string
    	var revs string
    	revCount := 0
    	pods, err := v.client.PodsForSelector(context.TODO(), v.istioNamespace, "app=istiod")
    	if err != nil {
    		return "", fmt.Errorf("failed to fetch istiod pod, error: %v", err)
    	}
    	for _, pod := range pods.Items {
    		rev := pod.ObjectMeta.GetLabels()[label.IoIstioRev.Name]
    		revCount++
    		if rev == "default" {
    			continue
    		}
    		revision = rev
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 19:23:44 UTC 2024
    - 15K bytes
    - Viewed (0)
  8. fess-crawler-es/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                crawler1.awaitTermination();
                crawler2.awaitTermination();
    
                assertEquals(maxCount, dataService.getCount(sessionId1));
                assertEquals(maxCount, dataService.getCount(sessionId2));
    
                UrlQueue urlQueue;
                while ((urlQueue = urlQueueService.poll(sessionId1)) != null) {
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/FileBackedOutputStream.java

      private File file;
    
      /** ByteArrayOutputStream that exposes its internals. */
      private static class MemoryOutput extends ByteArrayOutputStream {
        byte[] getBuffer() {
          return buf;
        }
    
        int getCount() {
          return count;
        }
      }
    
      /** Returns the file holding the data (possibly null). */
      @VisibleForTesting
      @CheckForNull
      synchronized File getFile() {
        return file;
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfrt/runtime_fallback/runtime_fallback_executor.h

    #include "tfrt/host_context/execution_context.h"  // from @tf_runtime
    #include "tfrt/host_context/host_context.h"  // from @tf_runtime
    #include "tfrt/host_context/resource_context.h"  // from @tf_runtime
    #include "tfrt/support/ref_count.h"  // from @tf_runtime
    
    namespace tensorflow {
    
    class RuntimeFallbackExecutor {
     public:
      explicit RuntimeFallbackExecutor(int64_t num_threads);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Nov 14 22:40:40 UTC 2022
    - 2.4K bytes
    - Viewed (0)
Back to top