Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 548 for _const0 (0.21 sec)

  1. src/bufio/net_test.go

    	}()
    
    	clientConn, err := net.DialUnix("unixpacket", nil, addr)
    	if err != nil {
    		// Leaves the server goroutine hanging. Oh well.
    		t.Fatal(err)
    	}
    
    	defer wg.Wait()
    	defer clientConn.Close()
    
    	const data = "data"
    	r := bufio.NewReader(strings.NewReader(data))
    	n, err := io.Copy(clientConn, r)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	if n != int64(len(data)) {
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Fri Feb 07 19:37:07 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  2. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/extension/GradleModuleExtension.kt

    /**
     * A project extension which describes a module of a Gradle distribution.
     */
    abstract class GradleModuleExtension(val tasks: TaskContainer, val objects: ObjectFactory) {
    
        companion object {
            const val NAME: String = "gradleModule"
        }
    
        @get:Nested
        abstract val identity: ModuleIdentity
    
        fun identity(action: ModuleIdentity.() -> Unit) {
            action(identity)
        }
    
        /**
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Oct 30 16:56:31 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  3. internal/config/compress/legacy.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package compress
    
    import (
    	"strings"
    
    	"github.com/minio/minio/internal/config"
    )
    
    // Legacy envs.
    const (
    	EnvCompress                 = "MINIO_COMPRESS"
    	EnvCompressMimeTypesLegacy1 = "MINIO_COMPRESS_MIMETYPES"
    
    	// These envs were wrong but we supported them for a long time
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sat Sep 06 17:37:10 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  4. src/cmd/addr2line/addr2line_test.go

    		// Reattach drive letter.
    		f = []string{f[0] + ":" + f[1], f[2]}
    	}
    	if len(f) != 2 {
    		t.Fatalf("no line number found in %q", pathAndLineNo)
    	}
    	return funcname, f[0], f[1]
    }
    
    const symName = "cmd/addr2line.TestAddr2Line"
    
    func testAddr2Line(t *testing.T, dbgExePath, addr string) {
    	funcName, srcPath, srcLineNo := runAddr2Line(t, dbgExePath, addr)
    	if symName != funcName {
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Fri Sep 06 13:23:48 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. internal/pubsub/mask.go

    package pubsub
    
    import (
    	"math"
    	"math/bits"
    )
    
    // Mask allows filtering by a bitset mask.
    type Mask uint64
    
    const (
    	// MaskAll is the mask for all entries.
    	MaskAll Mask = math.MaxUint64
    )
    
    // MaskFromMaskable extracts mask from an interface.
    func MaskFromMaskable(m Maskable) Mask {
    	return Mask(m.Mask())
    }
    
    // Contains returns whether *all* flags in other is present in t.
    func (t Mask) Contains(other Mask) bool {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Jul 05 21:45:49 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  6. build-logic/jvm/src/main/kotlin/gradlebuild/jvm/JvmCompileExtension.kt

     * A container of [JvmCompilation]s for a JVM project.
     *
     * Utility methods are provided to add compilations based on existing [SourceSet]s.
     */
    abstract class JvmCompileExtension {
    
        companion object {
            const val NAME: String = "jvmCompile"
        }
    
        abstract val compilations: NamedDomainObjectContainer<JvmCompilation>
    
        fun Project.addCompilationFrom(sourceSet: NamedDomainObjectProvider<SourceSet>): JvmCompilation {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Jun 24 14:00:52 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RouteSelectorTest.kt

          call = call,
        )
    
      companion object {
        private const val PROXY_A_PORT = 1001
        private const val PROXY_A_HOST = "proxya"
        private val proxyA =
          Proxy(
            Proxy.Type.HTTP,
            InetSocketAddress.createUnresolved(PROXY_A_HOST, PROXY_A_PORT),
          )
    
        private const val PROXY_B_PORT = 1002
        private const val PROXY_B_HOST = "proxyb"
        private val proxyB =
          Proxy(
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Oct 08 03:50:05 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  8. cmd/storagemetric_string.go

    	_ = x[storageMetricDeleteAbandonedParts-26]
    	_ = x[storageMetricDiskInfo-27]
    	_ = x[storageMetricDeleteBulk-28]
    	_ = x[storageMetricRenamePart-29]
    	_ = x[storageMetricReadParts-30]
    	_ = x[storageMetricLast-31]
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Aug 12 08:38:15 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. cmd/healthcheck-router.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"net/http"
    
    	"github.com/minio/mux"
    )
    
    const (
    	healthCheckPath            = "/health"
    	healthCheckLivenessPath    = "/live"
    	healthCheckReadinessPath   = "/ready"
    	healthCheckClusterPath     = "/cluster"
    	healthCheckClusterReadPath = "/cluster/read"
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Jan 23 11:12:47 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  10. cmd/metrics-v3-system-network.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    
    	"github.com/minio/minio/internal/rest"
    )
    
    const (
    	internodeErrorsTotal      MetricName = "errors_total"
    	internodeDialErrorsTotal  MetricName = "dial_errors_total"
    	internodeDialAvgTimeNanos MetricName = "dial_avg_time_nanos"
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Mar 10 09:15:15 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top