Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 1,079 for while (0.03 sec)

  1. android/guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java

        char[] strCopy = new char[len * Integer.highestOneBit(count)];
        string.getChars(0, len, strCopy, 0);
    
        char[] array = new char[len * count];
    
        int strCopyLen = len;
        int pos = 0;
        while (count != 0) {
          if ((count & 1) != 0) {
            System.arraycopy(strCopy, 0, array, pos, strCopyLen);
            pos += strCopyLen;
          }
          count >>= 1;
          if (count != 0) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/util/RC4.java

         * @param doff the offset in the destination array
         */
        public void update(final byte[] src, int soff, final int slen, final byte[] dst, int doff) {
            int slim = soff + slen;
            while (soff < slim) {
                i = i + 1 & 0xff;
                j = j + s[i] & 0xff;
                final byte t = s[i];
                s[i] = s[j];
                s[j] = t;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

       */
      @CanIgnoreReturnValue
      public static Set<Feature<?>> addImpliedFeatures(Set<Feature<?>> features) {
        Queue<Feature<?>> queue = new ArrayDeque<>(features);
        while (!queue.isEmpty()) {
          Feature<?> feature = queue.remove();
          for (Feature<?> implied : feature.getImpliedFeatures()) {
            if (features.add(implied)) {
              queue.add(implied);
            }
          }
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java

       * @param updaterFunction the update function
       * @return the previous value
       * @since 31.1
       */
      @CanIgnoreReturnValue
      public final double getAndUpdate(int i, DoubleUnaryOperator updaterFunction) {
        while (true) {
          long current = longs.get(i);
          double currentVal = longBitsToDouble(current);
          double nextVal = updaterFunction.applyAsDouble(currentVal);
          long next = doubleToRawLongBits(nextVal);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java

         *
         * @param handle notification handle
         */
        private void startAsyncNotification(ChangeNotificationHandle handle) {
            CompletableFuture<Void> future = CompletableFuture.runAsync(() -> {
                while (handle.isActive()) {
                    try {
                        // Note: Actual SMB2 Change Notify implementation would go here
                        // For now, this is a placeholder that simulates monitoring
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/graph/NetworkMutationTest.java

          assertThat(network.nodes()).isEmpty();
          assertThat(network.edges()).isEmpty();
          AbstractNetworkTest.validateNetwork(network);
    
          while (network.nodes().size() < NUM_NODES) {
            network.addNode(gen.nextInt(NODE_POOL_SIZE));
          }
          ArrayList<Integer> nodeList = new ArrayList<>(network.nodes());
          for (int i = 0; i < NUM_EDGES; ++i) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/DummyProxy.java

        for (Class<? super T> itf : allInterfaceClasses) {
          Iterator<Class<?>> iterator = interfaceClasses.iterator();
          boolean addToSet = true;
          while (iterator.hasNext()) {
            Class<?> current = iterator.next();
            if (current == itf || itf.isAssignableFrom(current)) {
              // Skip any super interface of the ones that are already included.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:10:29 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/AtomicDouble.java

       *
       * @param updateFunction the update function
       * @return the previous value
       * @since 31.1
       */
      @CanIgnoreReturnValue
      public final double getAndUpdate(DoubleUnaryOperator updateFunction) {
        while (true) {
          long current = value;
          double currentVal = longBitsToDouble(current);
          double nextVal = updateFunction.applyAsDouble(currentVal);
          long next = doubleToRawLongBits(nextVal);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbEnumerationUtil.java

                    return false;
                }
                return ff.accept((SmbFile) resource);
            })) {
    
                final List<String> list = new ArrayList<>();
                while (it.hasNext()) {
                    try (SmbResource n = it.next()) {
                        list.add(n.getName());
                    }
                }
                return list.toArray(new String[list.size()]);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java

            protected void setFieldValue(String fieldName, Object value) {
                try {
                    Field field = null;
                    Class<?> clazz = this.getClass();
                    while (clazz != null && field == null) {
                        try {
                            field = clazz.getDeclaredField(fieldName);
                        } catch (NoSuchFieldException e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
Back to top