Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 151 for 1024 (0.02 seconds)

  1. guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

              // passes, and there is still a little endianness bug lurking around.
            }
          }
    
          Control control = new Control();
          Hasher controlSink = control.newHasher(1024);
    
          Iterable<Hasher> sinksAndControl =
              Iterables.concat(sinks, Collections.singleton(controlSink));
          for (int insertion = 0; insertion < totalInsertions; insertion++) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:19:59 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  2. internal/event/config.go

    func ValidateFilterRuleValue(value string) error {
    	for segment := range strings.SplitSeq(value, "/") {
    		if segment == "." || segment == ".." {
    			return &ErrInvalidFilterValue{value}
    		}
    	}
    
    	if len(value) <= 1024 && utf8.ValidString(value) && !strings.Contains(value, `\`) {
    		return nil
    	}
    
    	return &ErrInvalidFilterValue{value}
    }
    
    // FilterRule - represents elements inside <FilterRule>...</FilterRule>
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  3. src/archive/zip/zip_test.go

    func generatesZip64(t *testing.T, f func(w *Writer)) bool {
    	ss := &suffixSaver{keep: 10 << 20}
    	w := NewWriter(ss)
    	f(w)
    	return suffixIsZip64(t, ss)
    }
    
    type sizedReaderAt interface {
    	io.ReaderAt
    	Size() int64
    }
    
    func suffixIsZip64(t *testing.T, zip sizedReaderAt) bool {
    	d := make([]byte, 1024)
    	if _, err := zip.ReadAt(d, zip.Size()-int64(len(d))); err != nil {
    		t.Fatalf("ReadAt: %v", err)
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu May 23 01:00:11 GMT 2024
    - 19.6K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/hash/Hashing.java

       * underlying hash functions together. This can be useful if you need to generate hash codes of a
       * specific length.
       *
       * <p>For example, if you need 1024-bit hash codes, you could join two {@link Hashing#sha512} hash
       * functions together: {@code Hashing.concatenating(Hashing.sha512(), Hashing.sha512())}.
       *
       * @since 19.0
       */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 29.8K bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java

        @Override
        public Model interpolate(Model model, File projectDir, ProjectBuilderConfiguration config, boolean debugEnabled)
                throws ModelInterpolationException {
            StringWriter sWriter = new StringWriter(1024);
    
            MavenStaxWriter writer = new MavenStaxWriter();
            try {
                writer.write(sWriter, model.getDelegate());
            } catch (IOException | XMLStreamException e) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 13.6K bytes
    - Click Count (0)
  6. internal/ringbuffer/ring_buffer_test.go

    	}
    	if rb.Free() != 64 {
    		t.Fatalf("expect free 64 bytes but got %d. r.w=%d, r.r=%d", rb.Free(), rb.w, rb.r)
    	}
    
    	// read empty
    	buf := make([]byte, 1024)
    	n, err := rb.Read(buf)
    	if err == nil {
    		t.Fatalf("expect an error but got nil")
    	}
    	if err != ErrIsEmpty {
    		t.Fatalf("expect ErrIsEmpty but got nil")
    	}
    	if n != 0 {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  7. api/go1.4.txt

    pkg debug/elf, const R_AARCH64_CALL26 R_AARCH64
    pkg debug/elf, const R_AARCH64_CONDBR19 = 280
    pkg debug/elf, const R_AARCH64_CONDBR19 R_AARCH64
    pkg debug/elf, const R_AARCH64_COPY = 1024
    pkg debug/elf, const R_AARCH64_COPY R_AARCH64
    pkg debug/elf, const R_AARCH64_GLOB_DAT = 1025
    pkg debug/elf, const R_AARCH64_GLOB_DAT R_AARCH64
    pkg debug/elf, const R_AARCH64_GOT_LD_PREL19 = 309
    pkg debug/elf, const R_AARCH64_GOT_LD_PREL19 R_AARCH64
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Dec 12 03:01:01 GMT 2014
    - 34K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/cache/LocalCacheTest.java

            makeLocalCache(createCacheBuilder().concurrencyLevel(1).initialCapacity(1));
        Segment<Object, Object> segment = map.segments[0];
        assertThat(segment.table.length()).isEqualTo(1);
    
        int count = 1024;
        for (int i = 0; i < count; i++) {
          Object key = new Object();
          Object value = new Object();
          int hash = map.hash(key);
          assertThat(segment.put(key, hash, value, false)).isNull();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 00:25:21 GMT 2025
    - 117.5K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

            makeLocalCache(createCacheBuilder().concurrencyLevel(1).initialCapacity(1));
        Segment<Object, Object> segment = map.segments[0];
        assertThat(segment.table.length()).isEqualTo(1);
    
        int count = 1024;
        for (int i = 0; i < count; i++) {
          Object key = new Object();
          Object value = new Object();
          int hash = map.hash(key);
          assertThat(segment.put(key, hash, value, false)).isNull();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 00:25:21 GMT 2025
    - 115.9K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt

          }
        }
      }
    
      private fun MockResponse.Builder.body(
        protocol: Protocol,
        body: String,
      ) = apply {
        when (protocol) {
          Protocol.HTTP_1_1 -> chunkedBody(body, 1024) // Force multiple chunks.
          else -> body(body)
        }
      }
    
      private fun enableProtocol(protocol: Protocol) {
        if (protocol == Protocol.HTTP_2) {
          enableTls()
          client =
            client
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Nov 08 21:45:04 GMT 2025
    - 18.8K bytes
    - Click Count (0)
Back to Top