Search Options

Results per page
Sort
Preferred Languages
Advance

Results 641 - 650 of 733 for donat (0.02 sec)

  1. src/archive/tar/writer_test.go

    		"subfolder/another.go": {Data: []byte("world")},
    		"symlink.go":           {Mode: 0o777 | os.ModeSymlink, Data: []byte("file.go")},
    		// Notably missing here is the "subfolder" directory. This makes sure even
    		// if we don't have a subfolder directory listed.
    	}
    	var buf bytes.Buffer
    	tw := NewWriter(&buf)
    	if err := tw.AddFS(fsys); err != nil {
    		t.Fatal(err)
    	}
    	if err := tw.Close(); err != nil {
    		t.Fatal(err)
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Feb 03 16:38:43 UTC 2025
    - 39.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        // count == 1
        segment.count++;
        assertSame(value, segment.get(key, hash));
        assertTrue(segment.containsKey(key, hash));
        assertTrue(segment.containsValue(value));
        // don't see absent values now that count > 0
        assertNull(segment.get(new Object(), hash));
    
        // null key
        DummyEntry<Object, Object> nullEntry = DummyEntry.create(null, hash, entry);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 110.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/ByteStreams.java

       * @throws IndexOutOfBoundsException if {@code off} is negative, if {@code len} is negative, or if
       *     {@code off + len} is greater than {@code b.length}
       */
      @CanIgnoreReturnValue
      // Sometimes you don't care how many bytes you actually read, I guess.
      // (You know that it's either going to read len bytes or stop at EOF.)
      public static int read(InputStream in, byte[] b, int off, int len) throws IOException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 31.1K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

        // Confirm that the connection was reused.
        assertThat(server.takeRequest().exchangeIndex).isEqualTo(0)
        assertThat(server.takeRequest().exchangeIndex).isEqualTo(1)
      }
    
      /**
       * Test to ensure we don't  throw a read timeout on responses that are progressing.  For this
       * case, we take a 4KiB body and throttle it to 1KiB/second.  We set the read timeout to two
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 73.4K bytes
    - Viewed (0)
  5. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

              httpHeaders.add(name, value)
            } else {
              throw IllegalStateException()
            }
            if (name == "expect" && value.equals("100-continue", ignoreCase = true)) {
              // Don't read the body unless we've invited the client to send it.
              readBody = false
            }
          }
          val headers = httpHeaders.build()
    
          val peek = dispatcher.peek()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 20:36:00 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        assertEquals(4, stats.missCount());
        assertEquals(4, stats.loadSuccessCount());
        assertEquals(0, stats.loadExceptionCount());
        assertEquals(3, stats.hitCount());
    
        // duplicate keys are ignored, and don't impact stats
        assertEquals(ImmutableMap.of(4, 4, 5, 5), cache.getAll(asList(4, 5)));
        stats = cache.stats();
        assertEquals(5, stats.missCount());
        assertEquals(5, stats.loadSuccessCount());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 85.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

                    assertArrayEquals(messages.get(i).getBytes(), decrypted, "Sample message " + i + " should decrypt correctly");
                } catch (Exception e) {
                    // Log but don't fail - concurrent encryption/decryption with same context is complex
                    System.out.println("Sample decryption failed (acceptable for concurrent test): " + e.getMessage());
                }
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

                msg = mock(CommonServerMessageBlock.class);
            }
    
            @Test
            @DisplayName("Should return true when signed flag is not set")
            void testVerifyNoSignedFlag() {
                // Don't set the signed flag
                SMBUtil.writeInt4(0x00000000, data, 16);
    
                boolean result = digest.verify(data, 0, data.length, 0, msg);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  9. src/archive/zip/reader.go

    		// are technically zero-byte files, must not have any associated file
    		// data. We previously tried failing here if f.CompressedSize64 != 0,
    		// but it turns out that a number of implementations (namely, the Java
    		// jar tool) don't properly set the storage method on directories
    		// resulting in a file with compressed size > 0 but uncompressed size ==
    		// 0. We still want to fail when a directory has associated uncompressed
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Mar 11 22:19:38 UTC 2025
    - 28.4K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/asm/asm.go

    			// passed RestArgs/AddRestSource
    			if a[1].Type == obj.TYPE_REG {
    				prog.Reg = p.getRegister(prog, op, &a[1])
    				prog.AddRestSource(a[2])
    			} else {
    				// Don't set prog.Reg if a1 isn't a reg arg.
    				prog.AddRestSourceArgs([]obj.Addr{a[1], a[2]})
    			}
    			break
    		}
    		if p.arch.Family == sys.RISCV64 {
    			prog.From = a[0]
    			prog.Reg = p.getRegister(prog, op, &a[1])
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Aug 05 17:31:25 UTC 2025
    - 26.2K bytes
    - Viewed (0)
Back to top