Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 160 for Clip (0.05 sec)

  1. android/guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java

          @Override
          long copy(Readable from, Appendable to) throws IOException {
            CharBuffer buf = CharStreams.createBuffer();
            long total = 0;
            while (from.read(buf) != -1) {
              ((Buffer) buf).flip();
              to.append(buf);
              total += buf.remaining();
              ((Buffer) buf).clear();
            }
            return total;
          }
        },
        NEW {
          @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 23 18:59:54 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/UnsignedBytes.java

        checkNotNull(array);
        checkPositionIndexes(fromIndex, toIndex, array.length);
        for (int i = fromIndex; i < toIndex; i++) {
          array[i] = flip(array[i]);
        }
        Arrays.sort(array, fromIndex, toIndex);
        for (int i = fromIndex; i < toIndex; i++) {
          array[i] = flip(array[i]);
        }
      }
    
      /**
       * Sorts the elements of {@code array} in descending order, interpreting them as unsigned 8-bit
       * integers.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java

        assertEquals(mapping.f, mapping.getFromType());
        assertEquals(mapping.t, mapping.getToType());
        assertEquals(mapping.f, mapping.flip().getFromType());
        assertEquals(mapping.t, mapping.flip().getToType());
        assertEquals(mapping.f, mapping.selfMapping().getFromType());
        assertEquals(mapping.t, mapping.selfMapping().getToType());
      }
    
      private static class ParameterizedOuter<T> {
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java

        assertEquals(mapping.f, mapping.getFromType());
        assertEquals(mapping.t, mapping.getToType());
        assertEquals(mapping.f, mapping.flip().getFromType());
        assertEquals(mapping.t, mapping.flip().getToType());
        assertEquals(mapping.f, mapping.selfMapping().getFromType());
        assertEquals(mapping.t, mapping.selfMapping().getToType());
      }
    
      private static class ParameterizedOuter<T> {
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  5. platforms/core-runtime/io/src/main/java/org/gradle/internal/io/StreamByteBuffer.java

                    // copy one by one until the underflow has been resolved
                    buf = ByteBuffer.allocate(buf.remaining() + 1).put(buf);
                    buf.put(nextBuf.get());
                    BufferCaster.cast(buf).flip();
                } else {
                    if (hasRemaining(nextBuf)) {
                        buf = nextBuf;
                    } else if (prepareRead() != -1) {
                        buf = currentReadChunk.readToNioBuffer();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 08:51:14 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  6. docs/tr/docs/history-design-future.md

    </blockquote>
    
    ## Araştırma
    
    Önceki alternatifleri kullanarak hepsinden bir şeyler öğrenip, fikirler alıp, bunları kendim ve çalıştığım geliştirici ekipler için en iyi şekilde birleştirebilme şansım oldu.
    
    Mesela, ideal olarak standart Python tip belirteçlerine dayanması gerektiği açıktı.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. pkg/webhooks/validation/controller/controller_test.go

    	)
    
    	// If we start having issues, we should not flip back to Ignore
    	gatewayError.Store(ptr.Of[error](kerrors.NewInternalError(errors.New("unknown error"))))
    	c.syncAll()
    	assert.EventuallyEqual(
    		t,
    		fetch(unpatchedWebhookConfig.Name),
    		webhookConfigWithCABundleFail,
    		retry.Message("should not go from Fail -> Ignore"),
    		LongRetry,
    	)
    
    	// We also should not flip back to Ignore in a new instance
    	close(controllerStop)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 05 03:21:04 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/hash/BloomFilterStrategies.java

          int hash1 = (int) hash64;
          int hash2 = (int) (hash64 >>> 32);
    
          boolean bitsChanged = false;
          for (int i = 1; i <= numHashFunctions; i++) {
            int combinedHash = hash1 + (i * hash2);
            // Flip all the bits if it's negative (guaranteed positive number)
            if (combinedHash < 0) {
              combinedHash = ~combinedHash;
            }
            bitsChanged |= bits.set(combinedHash % bitSize);
          }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 10.7K bytes
    - Viewed (0)
  9. src/os/signal/signal_plan9_test.go

    				runtime.Gosched()
    			}
    		}
    		finished <- true
    	}()
    	time.Sleep(dur)
    	close(done)
    	<-finished
    	<-finished
    	// When run with 'go test -cpu=1,2,4' alarm from this test can slip
    	// into subsequent TestSignal() causing failure.
    	// Sleep for a while to reduce the possibility of the failure.
    	time.Sleep(10 * time.Millisecond)
    }
    
    // Test that Stop cancels the channel's registrations.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Mar 14 17:56:50 UTC 2021
    - 3.6K bytes
    - Viewed (0)
  10. src/html/template/js_test.go

    		t.Error("Blank tokens")
    	}
    }
    
    type jsonErrType struct{}
    
    func (e *jsonErrType) MarshalJSON() ([]byte, error) {
    	return nil, errors.New("beep */ boop </script blip <!--")
    }
    
    func TestJSValEscaper(t *testing.T) {
    	tests := []struct {
    		x        any
    		js       string
    		skipNest bool
    	}{
    		{int(42), " 42 ", false},
    		{uint(42), " 42 ", false},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 02:20:11 UTC 2024
    - 12.6K bytes
    - Viewed (0)
Back to top