Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for devid (0.09 sec)

  1. docs/debugging/reorder-disks/main.go

    	if err := syscall.Stat(path, &stat); err != nil {
    		return "", fmt.Errorf("unable to stat `%s`: %w", path, err)
    	}
    
    	devID := uint64(stat.Dev)
    	major := (devID & 0x00000000000fff00) >> 8
    	major |= (devID & 0xfffff00000000000) >> 32
    	minor := (devID & 0x00000000000000ff) >> 0
    	minor |= (devID & 0x00000ffffff00000) >> 12
    
    	return fmt.Sprintf("%d:%d", major, minor), nil
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. internal/disk/stat_linux.go

    	}
    
    	st := syscall.Stat_t{}
    	err = syscall.Stat(path, &st)
    	if err != nil {
    		return Info{}, err
    	}
    	//nolint:unconvert
    	devID := uint64(st.Dev) // Needed to support multiple GOARCHs
    	info.Major = unix.Major(devID)
    	info.Minor = unix.Minor(devID)
    
    	// Check for overflows.
    	// https://github.com/minio/minio/issues/8035
    	// XFS can show wrong values at times error out
    	// in such scenarios.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/container_manager.go

    					ResourceName: resourceName,
    					DeviceIds:    []string{devID},
    				})
    				continue
    			}
    
    			for _, node := range topo.GetNodes() {
    				respDevs = append(respDevs, &podresourcesapi.ContainerDevices{
    					ResourceName: resourceName,
    					DeviceIds:    []string{devID},
    					Topology: &podresourcesapi.TopologyInfo{
    						Nodes: []*podresourcesapi.NUMANode{
    							{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:13 UTC 2024
    - 9K bytes
    - Viewed (0)
  4. LICENSES/vendor/github.com/daviddengcn/go-colortext/LICENSE

    = vendor/github.com/daviddengcn/go-colortext licensed under: =
    
    BSD License
    ===========
    
    Copyright (c) 2016, David Deng
    All rights reserved.
    
    Redistribution and use in source and binary forms, with or without
    modification, are permitted provided that the following conditions are met:
    
    * Redistributions of source code must retain the above copyright notice, this
      list of conditions and the following disclaimer.
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 08 04:49:00 UTC 2020
    - 2.7K bytes
    - Viewed (0)
  5. licenses/github.com/docker/docker-credential-helpers/LICENSE

    Copyright (c) 2016 David Calavera
    
    Permission is hereby granted, free of charge, to any person obtaining
    a copy of this software and associated documentation files (the
    "Software"), to deal in the Software without restriction, including
    without limitation the rights to use, copy, modify, merge, publish,
    distribute, sublicense, and/or sell copies of the Software, and to
    permit persons to whom the Software is furnished to do so, subject to
    the following conditions:
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jul 30 04:02:55 UTC 2021
    - 1K bytes
    - Viewed (0)
  6. cmd/metrics-realtime.go

    	c "github.com/shirou/gopsutil/v3/cpu"
    	"github.com/shirou/gopsutil/v3/load"
    )
    
    type collectMetricsOpts struct {
    	hosts map[string]struct{}
    	disks map[string]struct{}
    	jobID string
    	depID string
    }
    
    func collectLocalMetrics(types madmin.MetricType, opts collectMetricsOpts) (m madmin.RealtimeMetrics) {
    	if types == madmin.MetricsNone {
    		return
    	}
    
    	byHostName := globalMinioAddr
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Jun 01 05:16:24 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/escape/ArrayBasedEscaperMapTest.java

     */
    
    package com.google.common.escape;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.ImmutableMap;
    import java.util.Map;
    import junit.framework.TestCase;
    
    /** @author David Beaumont */
    @GwtCompatible
    public class ArrayBasedEscaperMapTest extends TestCase {
      public void testNullMap() {
        try {
          ArrayBasedEscaperMap.create(null);
          fail("expected exception did not occur");
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/html/HtmlEscapersTest.java

    import static com.google.common.html.HtmlEscapers.htmlEscaper;
    
    import com.google.common.annotations.GwtCompatible;
    import junit.framework.TestCase;
    
    /**
     * Tests for the {@link HtmlEscapers} class.
     *
     * @author David Beaumont
     */
    @GwtCompatible
    public class HtmlEscapersTest extends TestCase {
    
      public void testHtmlEscaper() throws Exception {
        assertEquals("xxx", htmlEscaper().escape("xxx"));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Dec 16 19:54:45 UTC 2020
    - 2.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/escape/ArrayBasedEscaperMapTest.java

     */
    
    package com.google.common.escape;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.ImmutableMap;
    import java.util.Map;
    import junit.framework.TestCase;
    
    /** @author David Beaumont */
    @GwtCompatible
    public class ArrayBasedEscaperMapTest extends TestCase {
      public void testNullMap() {
        try {
          ArrayBasedEscaperMap.create(null);
          fail("expected exception did not occur");
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/escape/ArrayBasedEscaperMap.java

     * map containing the single character '{@literal \}u1000' will require approximately 16K of memory.
     * As such sharing this data structure between escaper instances is the primary goal of this class.
     *
     * @author David Beaumont
     * @since 15.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class ArrayBasedEscaperMap {
      /**
       * Returns a new ArrayBasedEscaperMap for creating ArrayBasedCharEscaper or
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 3.2K bytes
    - Viewed (0)
Back to top