Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 487 for cLower (0.16 sec)

  1. src/cmd/go/testdata/script/cover_cgo_extra_file.txt

    [short] skip
    [!cgo] skip
    [compiler:gccgo] skip # gccgo has no cover tool
    
    # Test coverage on cgo code. This test case includes an
    # extra empty non-cgo file in the package being checked.
    
    go test -short -cover cgocover4
    stdout  'coverage:.*[1-9][0-9.]+%'
    ! stderr '[^0-9]0\.0%'
    
    -- go.mod --
    module cgocover4
    
    go 1.16
    -- notcgo.go --
    package p
    -- p.go --
    package p
    
    /*
    void
    f(void)
    {
    }
    */
    import "C"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 560 bytes
    - Viewed (0)
  2. src/net/http/fcgi/fcgi.go

    }
    
    // bufWriter encapsulates bufio.Writer but also closes the underlying stream when
    // Closed.
    type bufWriter struct {
    	closer io.Closer
    	*bufio.Writer
    }
    
    func (w *bufWriter) Close() error {
    	if err := w.Writer.Flush(); err != nil {
    		w.closer.Close()
    		return err
    	}
    	return w.closer.Close()
    }
    
    func newWriter(c *conn, recType recType, reqId uint16) *bufWriter {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 11 18:51:39 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/dom.go

    // which maps block ID to the immediate dominator of that block.
    // Unreachable blocks map to nil. The entry block maps to nil.
    func dominatorsSimple(f *Func) []*Block {
    	// A simple algorithm for now
    	// Cooper, Harvey, Kennedy
    	idom := make([]*Block, f.NumBlocks())
    
    	// Compute postorder walk
    	post := f.postorder()
    
    	// Make map from block id to order index (for intersect call)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Dec 03 17:08:51 UTC 2022
    - 7.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/math/ToDoubleRounder.java

              X deltaToCeiling = minus(roundCeiling, x);
              int diff = deltaToFloor.compareTo(deltaToCeiling);
              if (diff < 0) { // closer to floor
                return roundFloorAsDouble;
              } else if (diff > 0) { // closer to ceiling
                return roundCeilingAsDouble;
              }
              // halfway between the representable values; do the half-whatever logic
              switch (mode) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. src/cmd/go/internal/tool/tool.go

    // Other binaries could be in the same directory so don't
    // show those with the 'go tool' command.
    func isGccgoTool(tool string) bool {
    	switch tool {
    	case "cgo", "fix", "cover", "godoc", "vet":
    		return true
    	}
    	return false
    }
    
    func init() {
    	base.AddChdirFlag(&CmdTool.Flag)
    	CmdTool.Flag.BoolVar(&toolN, "n", false, "")
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 18:02:11 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. platforms/core-execution/build-cache/src/main/java/org/gradle/caching/internal/controller/service/StoreTarget.java

        @Override
        public void writeTo(OutputStream output) throws IOException {
            Closer closer = Closer.create();
            closer.register(output);
            try {
                stored = true;
                Files.asByteSource(file).copyTo(output);
            } catch (Exception e) {
                throw closer.rethrow(e);
            } finally {
                closer.close();
            }
        }
    
        public boolean isStored() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:43:12 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/workerApi/md5ClassloaderIsolation/kotlin/buildSrc/src/main/java/GenerateMD5.java

                InputStream stream = new FileInputStream(sourceFile);
                System.out.println("Generating MD5 for " + sourceFile.getName() + "...");
                // Artificially make this task slower.
                Thread.sleep(3000);
                FileUtils.writeStringToFile(md5File, DigestUtils.md5Hex(stream), (String) null);
            } catch (Exception e) {
                throw new RuntimeException(e);
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 923 bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/workerApi/md5NoIsolation/kotlin/buildSrc/src/main/java/GenerateMD5.java

                InputStream stream = new FileInputStream(sourceFile);
                System.out.println("Generating MD5 for " + sourceFile.getName() + "...");
                // Artificially make this task slower.
                Thread.sleep(3000);
                FileUtils.writeStringToFile(md5File, DigestUtils.md5Hex(stream), (String) null);
            } catch (Exception e) {
                throw new RuntimeException(e);
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 930 bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/workerApi/md5ProcessIsolation/kotlin/buildSrc/src/main/java/GenerateMD5.java

                InputStream stream = new FileInputStream(sourceFile);
                System.out.println("Generating MD5 for " + sourceFile.getName() + "...");
                // Artificially make this task slower.
                Thread.sleep(3000);
                FileUtils.writeStringToFile(md5File, DigestUtils.md5Hex(stream), (String) null);
            } catch (Exception e) {
                throw new RuntimeException(e);
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 923 bytes
    - Viewed (0)
  10. pkg/test/framework/integration/component.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package integration
    
    import (
    	"io"
    
    	"istio.io/istio/pkg/test/framework/resource"
    )
    
    var _ io.Closer = &component{}
    
    type component struct {
    	name        string
    	id          resource.ID
    	handleClose func(*component)
    }
    
    func (c *component) ID() resource.ID {
    	return c.id
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 29 20:42:01 UTC 2020
    - 1.1K bytes
    - Viewed (0)
Back to top