Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 671 for hole (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

       * a "hole" in it so that set tests of {@code ContiguousSet} can suppress them with {@code
       * FeatureSpecificTestSuiteBuilder.suppressing()}.
       */
      /*
       * TODO(cpovirk): or we could make HOLES_FORBIDDEN a feature. Or we could declare that
       * implementations are permitted to throw IAE if a hole is requested, and we could update
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 8.5K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

       * a "hole" in it so that set tests of {@code ContiguousSet} can suppress them with {@code
       * FeatureSpecificTestSuiteBuilder.suppressing()}.
       */
      /*
       * TODO(cpovirk): or we could make HOLES_FORBIDDEN a feature. Or we could declare that
       * implementations are permitted to throw IAE if a hole is requested, and we could update
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 8.5K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

            return minChildIndex;
          }
          return crossOverUp(index, x);
        }
    
        /**
         * Fills the hole at {@code index} by moving in the least of its grandchildren to this position,
         * then recursively filling the new hole created.
         *
         * @return the position of the new hole (where the lowest grandchild moved from, that had no
         *     grandchild to replace it)
         */
        int fillHoleAt(int index) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 33.9K bytes
    - Click Count (0)
  4. src/archive/tar/writer.go

    	b0 := b
    	endPos := sw.pos + int64(len(b))
    	for endPos > sw.pos && err == nil {
    		var nf int // Bytes written in fragment
    		dataStart, dataEnd := sw.sp[0].Offset, sw.sp[0].endOffset()
    		if sw.pos < dataStart { // In a hole fragment
    			bf := b[:min(int64(len(b)), dataStart-sw.pos)]
    			nf, err = zeroWriter{}.Write(bf)
    		} else { // In a data fragment
    			bf := b[:min(int64(len(b)), dataEnd-sw.pos)]
    			nf, err = sw.fw.Write(bf)
    		}
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Feb 03 16:38:43 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  5. src/archive/tar/common.go

    //		{Offset: 18, Length: 3},  // Data fragment for 18..20
    //	}
    //	var sph sparseHoles = []sparseEntry{
    //		{Offset: 0,  Length: 2},  // Hole fragment for 0..1
    //		{Offset: 7,  Length: 11}, // Hole fragment for 7..17
    //		{Offset: 21, Length: 4},  // Hole fragment for 21..24
    //	}
    //
    // Then the content of the resulting sparse file with a Header.Size of 25 is:
    //
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Oct 07 19:46:36 GMT 2025
    - 24.5K bytes
    - Click Count (0)
  6. src/archive/tar/writer_test.go

    						SparseHoles: []sparseEntry{{Offset: 1000, Length: 0}},
    					}, nil},
    					testWrite{strings.Repeat("0123456789", 100), 1000, nil},
    					testClose{},
    				},
    			}, {
    				file: "testdata/gnu-nil-sparse-hole.tar",
    				tests: []testFnc{
    					testHeader{Header{
    						Typeflag:    TypeGNUSparse,
    						Name:        "sparse.db",
    						Size:        1000,
    						SparseHoles: []sparseEntry{{Offset: 0, Length: 1000}},
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Dec 15 16:34:13 GMT 2025
    - 40.2K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

        // Create an editor, then detach it.
        val editor = cache.edit("k1")!!
        editor.newSink(0).buffer().use { sink ->
          cache.evictAll()
    
          // Complete the original edit. It goes into a black hole.
          sink.writeUtf8("bb")
        }
        assertThat(cache["k1"]).isNull()
      }
    
      @Test
      fun `edit discarded after editor detached with concurrent write`() {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Nov 01 12:18:11 GMT 2025
    - 59.4K bytes
    - Click Count (0)
  8. src/archive/tar/reader_test.go

    			Size:     1000,
    			ModTime:  time.Unix(0, 0),
    			Format:   FormatGNU,
    		}},
    	}, {
    		// Generated by Go, works on BSD tar v3.1.2 and GNU tar v.1.27.1.
    		file: "testdata/gnu-nil-sparse-hole.tar",
    		headers: []*Header{{
    			Name:     "sparse.db",
    			Typeflag: TypeGNUSparse,
    			Size:     1000,
    			ModTime:  time.Unix(0, 0),
    			Format:   FormatGNU,
    		}},
    	}, {
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Dec 15 16:34:13 GMT 2025
    - 47.5K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/core/lang/Hoge.java

    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    /**
     * @author higa
     *
     */
    @Retention(RetentionPolicy.RUNTIME)
    @Target({ ElementType.TYPE, ElementType.METHOD })
    public @interface Hoge {
    
        /**
         *
         */
        String aaa() default "123";
    
        /**
         *
         */
        String bbb();
    
        /**
         *
         */
        String ccc() default "";
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  10. cmd/bitrot-whole.go

    }
    
    func (b *wholeBitrotWriter) Close() error {
    	return nil
    }
    
    // Returns whole-file bitrot writer.
    func newWholeBitrotWriter(disk StorageAPI, volume, filePath string, algo BitrotAlgorithm, shardSize int64) io.WriteCloser {
    	return &wholeBitrotWriter{disk, volume, filePath, shardSize, algo.New()}
    }
    
    // Implementation to verify bitrot for the whole file.
    type wholeBitrotReader struct {
    	disk       StorageAPI
    	volume     string
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Jan 31 02:11:45 GMT 2024
    - 2.7K bytes
    - Click Count (0)
Back to Top