Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 68 for Clip (0.1 sec)

  1. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/inet/SocketConnection.java

                            BufferCaster.cast(buffer).limit(0);
                            return -1;
                        }
                        throw e;
                    }
                    BufferCaster.cast(buffer).flip();
    
                    if (nread < 0) {
                        return -1;
                    }
                }
    
                int count = Math.min(buffer.remaining(), max);
                buffer.get(dest, offset, count);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 11.8K 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. 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)
  7. 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)
  8. 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)
  9. android/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)
  10. src/runtime/hash_test.go

    	for z := 0; z < REP; z++ {
    		// pick a random key, hash it
    		k.random(r)
    		h := k.hash()
    
    		// flip each bit, hash & compare the results
    		for i := 0; i < n; i++ {
    			k.flipBit(i)
    			d := h ^ k.hash()
    			k.flipBit(i)
    
    			// record the effects of that bit flip
    			g := &grid[i]
    			for j := 0; j < hashSize; j++ {
    				g[j] += int(d & 1)
    				d >>= 1
    			}
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 17:50:18 UTC 2024
    - 18.4K bytes
    - Viewed (0)
Back to top