Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for Wong (0.16 sec)

  1. okhttp/src/test/java/okhttp3/internal/concurrent/TaskRunnerTest.kt

        val task =
          object : Task("task") {
            val schedules = mutableListOf(50.µs)
            val delays = mutableListOf(200.µs, -1)
    
            override fun runOnce(): Long {
              log += "run@${taskFaker.nanoTime}"
              if (schedules.isNotEmpty()) {
                redQueue.schedule(this, schedules.removeAt(0))
              }
              return delays.removeAt(0)
            }
          }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 23K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

          if (queue.futureTasks.isEmpty()) {
            readyQueues.removeAt(i)
          }
        }
      }
    
      interface Backend {
        fun nanoTime(): Long
    
        fun coordinatorNotify(taskRunner: TaskRunner)
    
        fun coordinatorWait(
          taskRunner: TaskRunner,
          nanos: Long,
        )
    
        fun <T> decorate(queue: BlockingQueue<T>): BlockingQueue<T>
    
        fun execute(
          taskRunner: TaskRunner,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  3. istioctl/pkg/waypoint/waypoint.go

    			gw.Labels = map[string]string{label.IoIstioRev.Name: revision}
    		}
    		return &gw, nil
    	}
    	waypointGenerateCmd := &cobra.Command{
    		Use:   "generate",
    		Short: "Generate a waypoint configuration",
    		Long:  "Generate a waypoint configuration as YAML",
    		Example: `  # Generate a waypoint as yaml
      istioctl x waypoint generate --namespace default`,
    		RunE: func(cmd *cobra.Command, args []string) error {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed May 01 16:16:40 GMT 2024
    - 15.2K bytes
    - Viewed (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

                      startNextTask()
                    }
                  }
                }
            }
    
            override fun coordinatorWait(
              taskRunner: TaskRunner,
              nanos: Long,
            ) {
              taskRunner.assertThreadHoldsLock()
              check(waitingCoordinatorTask == null)
              if (nanos == 0L) return
    
              // Yield until notified, interrupted, or the duration elapses.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  5. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    	defaultProxyAdminPort = 15000
    )
    
    func ZtunnelConfig(ctx cli.Context) *cobra.Command {
    	configCmd := &cobra.Command{
    		Use:   "ztunnel-config",
    		Short: "Update or retrieve current Ztunnel configuration.",
    		Long:  "A group of commands used to update or retrieve Ztunnel configuration from a Ztunnel instance.",
    		Example: `  # Retrieve summary about workload configuration
      istioctl x ztunnel-config workload
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed May 01 13:11:40 GMT 2024
    - 22.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

        if (entries.isEmpty()) {
          return emptyMultiset(comparator);
        }
        ImmutableList.Builder<E> elementsBuilder = new ImmutableList.Builder<>(entries.size());
        long[] cumulativeCounts = new long[entries.size() + 1];
        int i = 0;
        for (Entry<E> entry : entries) {
          elementsBuilder.add(entry.getElement());
          cumulativeCounts[i + 1] = cumulativeCounts[i] + entry.getCount();
          i++;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 35.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableTable.java

          }
          return RegularImmutableTable.forOrderedComponents(
              cellListBuilder.build(), ImmutableSet.copyOf(rowKeys), ImmutableSet.copyOf(columnKeys));
        }
    
        private static final long serialVersionUID = 0;
      }
    
      @J2ktIncompatible // serialization
      @GwtIncompatible // serialization
      abstract Object writeReplace();
    
      @GwtIncompatible // serialization
      @J2ktIncompatible
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Multisets.java

        }
    
        @Override
        public boolean setCount(@ParametricNullness E element, int oldCount, int newCount) {
          throw new UnsupportedOperationException();
        }
    
        private static final long serialVersionUID = 0;
      }
    
      /**
       * Returns an unmodifiable view of the specified sorted multiset. Query operations on the returned
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableRangeMap.java

        }
    
        private static final long serialVersionUID = 0;
      }
    
      Object writeReplace() {
        return new SerializedForm<>(asMapOfRanges());
      }
    
      @J2ktIncompatible // java.io.ObjectInputStream
      private void readObject(ObjectInputStream stream) throws InvalidObjectException {
        throw new InvalidObjectException("Use SerializedForm");
      }
    
      private static final long serialVersionUID = 0;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 14.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableBiMap.java

        SerializedForm(ImmutableBiMap<K, V> bimap) {
          super(bimap);
        }
    
        @Override
        Builder<K, V> makeBuilder(int size) {
          return new Builder<>(size);
        }
    
        private static final long serialVersionUID = 0;
      }
    
      @Override
      @J2ktIncompatible // serialization
      Object writeReplace() {
        return new SerializedForm<>(this);
      }
    
      @J2ktIncompatible // serialization
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.4K bytes
    - Viewed (0)
Back to top