Search Options

Results per page
Sort
Preferred Languages
Advance

Results 511 - 520 of 703 for wrappy (1.3 sec)

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

          // [9-127) includes all ascii non-control characters
          sb.append((char) (random.nextInt(127 - 9) + 9));
        }
        String string = sb.toString();
        sb.setLength(0);
        data = ByteSource.wrap(string.getBytes(charset));
      }
    
      @Benchmark
      public int timeCopy(int reps) throws IOException {
        int r = 0;
        Charset localCharset = charset;
        ByteSource localData = data;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/spnego/NegTokenInitTest.java

            assertEquals(flags, parsed.getContextFlags(), "Context flags should parse from DER BIT STRING");
        }
    
        @Test
        @DisplayName("Sanity: toByteArray produces APPLICATION class wrapper and valid structure")
        void testToByteArrayStructureSanity() throws Exception {
            NegTokenInit init =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

                final ByteBuffer buffer = ByteBuffer.wrap(nonce, 12, 4);
                buffer.order(java.nio.ByteOrder.LITTLE_ENDIAN);
                buffer.putInt((int) counter);
            } else {
                // SMB 3.0/3.0.2 CCM: Counter-based approach as per SMB3 specification
                final long counter = this.nonceCounter.incrementAndGet();
                final ByteBuffer buffer = ByteBuffer.wrap(nonce);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbFileInputStream.java

                    this.openFlags &= ~(SmbConstants.O_CREAT | SmbConstants.O_TRUNC);
                }
    
                init(th);
            } catch (final CIFSException e) {
                throw SmbException.wrap(e);
            }
        }
    
        /**
         * @throws SmbException
         *
         */
        SmbFileInputStream(final SmbFile file, final SmbTreeHandleImpl th, final SmbFileHandleImpl fh) throws SmbException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  5. src/bufio/bufio_test.go

    var testInput = []byte("012\n345\n678\n9ab\ncde\nfgh\nijk\nlmn\nopq\nrst\nuvw\nxy")
    var testInputrn = []byte("012\r\n345\r\n678\r\n9ab\r\ncde\r\nfgh\r\nijk\r\nlmn\r\nopq\r\nrst\r\nuvw\r\nxy\r\n\n\r\n")
    
    // TestReader wraps a []byte and returns reads of a specific length.
    type testReader struct {
    	data   []byte
    	stride int
    }
    
    func (t *testReader) Read(buf []byte) (n int, err error) {
    	n = t.stride
    	if n > len(t.data) {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 07 01:08:54 UTC 2025
    - 51.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/entity/QueryContextTest.java

            queryContext.addQuery(boolQuery -> {
                // Don't add any clauses
            });
    
            // When no clauses are added to a non-MatchAllQuery, it still wraps in BoolQuery
            QueryBuilder result = queryContext.getQueryBuilder();
            assertTrue(result instanceof BoolQueryBuilder);
            BoolQueryBuilder boolResult = (BoolQueryBuilder) result;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  7. cmd/postpolicyform_test.go

    		name    string
    		fv      formValues
    		expired bool
    		wantErr string
    	}
    
    	// Test case just contains fields we override from defaultFormVals.
    	testCases := []testCase{
    		{
    			name:    "happy path no errors",
    			fv:      defaultFormVals.Clone(),
    			wantErr: "",
    		},
    		{
    			name:    "expired policy document",
    			fv:      defaultFormVals.Clone(),
    			expired: true,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/CacheLoader.java

          return computingFunction.apply(checkNotNull(key));
        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
      }
    
      /**
       * Returns a {@code CacheLoader} which wraps {@code loader}, executing calls to {@link
       * CacheLoader#reload} using {@code executor}.
       *
       * <p>This method is useful only when {@code loader.reload} has a synchronous implementation, such
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/JSSETest.kt

      fun testFacebook() {
        val sessionIds = mutableListOf<String>()
    
        assumeNetwork()
    
        client =
          client
            .newBuilder()
            .eventListenerFactory(
              clientTestRule.wrap(
                object : EventListener() {
                  override fun connectionAcquired(
                    call: Call,
                    connection: Connection,
                  ) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/Murmur3_128HashFunction.java

          h1 += h2;
          h2 += h1;
    
          h1 = fmix64(h1);
          h2 = fmix64(h2);
    
          h1 += h2;
          h2 += h1;
    
          return HashCode.fromBytesNoCopy(
              ByteBuffer.wrap(new byte[CHUNK_SIZE])
                  .order(ByteOrder.LITTLE_ENDIAN)
                  .putLong(h1)
                  .putLong(h2)
                  .array());
        }
    
        private static long fmix64(long k) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 5.8K bytes
    - Viewed (0)
Back to top