Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 329 for lesz (0.02 sec)

  1. tests/lru_test.go

    		if v != fmt.Sprintf("val%d", i) {
    			t.Fatalf("value differs from expected")
    		}
    		if !ok {
    			t.Fatalf("should be true")
    		}
    		if lc.Len() > 20 {
    			t.Fatalf("length should be less than 20")
    		}
    	}
    
    	if lc.Len() != 10 {
    		t.Fatalf("length differs from expected")
    	}
    }
    
    func TestLRUConcurrency(t *testing.T) {
    	lc := lru.NewLRU[string, string](0, nil, 0)
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/BloomFilterStrategies.java

     * their ordinal for BloomFilter serialization.
     *
     * @author Dimitris Andreou
     * @author Kurt Alfred Kluever
     */
    enum BloomFilterStrategies implements BloomFilter.Strategy {
      /**
       * See "Less Hashing, Same Performance: Building a Better Bloom Filter" by Adam Kirsch and Michael
       * Mitzenmacher. The paper argues that this trick doesn't significantly deteriorate the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

          }
        }
    
        @Override
        public int hashCode() {
          return 0;
        }
      }
    
      static class BadEquals {
    
        public BadEquals() {} // ignored by testEquals() since it has less parameters.
    
        public static BadEquals create(@SuppressWarnings("unused") @Nullable String s) {
          return new BadEquals();
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/arch/arch.go

    	instructions["JL"] = x86.AJLT   /* alternate */
    	instructions["JLE"] = x86.AJLE  /* less than or equal (signed) (ZF = 1 || SF != OF) */
    	instructions["JLO"] = x86.AJCS  /* alternate */
    	instructions["JLS"] = x86.AJLS  /* lower or same (unsigned) (CF = 1 || ZF = 1) */
    	instructions["JLT"] = x86.AJLT  /* less than (signed) (SF != OF) */
    	instructions["JMI"] = x86.AJMI  /* negative (minus) (SF = 1) */
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Nov 07 02:20:14 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  5. src/archive/tar/reader.go

    		if sr.pos >= holeEnd && len(sr.sp) > 1 {
    			sr.sp = sr.sp[1:] // Ensure last fragment always remains
    		}
    	}
    
    	n = len(b0) - len(b)
    	switch {
    	case err == io.EOF:
    		return n, errMissData // Less data in dense file than sparse file
    	case err != nil:
    		return n, err
    	case sr.logicalRemaining() == 0 && sr.physicalRemaining() > 0:
    		return n, errUnrefData // More data in dense file than sparse file
    	case finished:
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Mar 08 01:59:14 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketReaderTest.kt

        data.write("8a7e007e".decodeHex())
        assertFailsWith<ProtocolException> {
          clientReader.processNextFrame()
        }.also { expected ->
          assertThat(expected.message)
            .isEqualTo("Control frame must be less than 125B.")
        }
      }
    
      @Test fun clientSimpleHello() {
        data.write("810548656c6c6f".decodeHex()) // Hello
        clientReader.processNextFrame()
        callback.assertTextMessage("Hello")
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/util/HexdumpTest.java

            assertNotNull(output1);
            assertTrue(output1.contains("00000:"));
            assertTrue(output1.contains(" 00 01 02 03"));
            assertTrue(output1.contains("|"));
    
            // Test with less than 16 bytes
            baos.reset();
            byte[] data2 = { 0x41, 0x42, 0x43, 0x44 }; // "ABCD"
            Hexdump.hexdump(ps, data2, 0, 4);
            String output2 = baos.toString();
    
            assertNotNull(output2);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  8. cmd/erasure-decode.go

    				// Reading first time on this disk, hence the buffer needs to be allocated.
    				// Subsequent reads will reuse this buffer.
    				p.buf[bufIdx] = make([]byte, p.shardSize)
    			}
    			// For the last shard, the shardsize might be less than previous shard sizes.
    			// Hence the following statement ensures that the buffer size is reset to the right size.
    			p.buf[bufIdx] = p.buf[bufIdx][:p.shardSize]
    			n, err := rr.ReadAt(p.buf[bufIdx], p.offset)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 29 01:40:52 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. docs/en/docs/index.md

    * **Intuitive**: Great editor support. <abbr title="also known as auto-complete, autocompletion, IntelliSense">Completion</abbr> everywhere. Less time debugging.
    * **Easy**: Designed to be easy to use and learn. Less time reading docs.
    * **Short**: Minimize code duplication. Multiple features from each parameter declaration. Fewer bugs.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 21.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

            void testDoReceiveFragment_BufferTooSmall() throws Exception {
                DcerpcPipeHandle handle = createMockedDcerpcPipeHandle();
    
                byte[] buf = new byte[50]; // Less than maxRecv (4280)
    
                assertThrows(IllegalArgumentException.class, () -> handle.doReceiveFragment(buf));
            }
    
            @Test
            @DisplayName("Should throw IOException for invalid PDU header")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
Back to top