Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 290 for BINARY (0.03 sec)

  1. cmd/tier.go

    func (config *TierConfigMgr) Bytes() ([]byte, error) {
    	config.RLock()
    	defer config.RUnlock()
    	data := make([]byte, 4, config.Msgsize()+4)
    
    	// Initialize the header.
    	binary.LittleEndian.PutUint16(data[0:2], tierConfigFormat)
    	binary.LittleEndian.PutUint16(data[2:4], tierConfigVersion)
    
    	// Marshal the tier config
    	return config.MarshalMsg(data)
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  2. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/internal/IsProbablyUtf8.kt

    import java.io.EOFException
    import okio.Buffer
    
    /**
     * Returns true if the body in question probably contains human readable text. Uses a small
     * sample of code points to detect unicode control characters commonly used in binary file
     * signatures.
     */
    fun Buffer.isProbablyUtf8(): Boolean {
      try {
        val prefix = Buffer()
        val byteCount = size.coerceAtMost(64)
        copyTo(prefix, 0, byteCount)
        for (i in 0 until 16) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Jan 07 16:05:34 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. .gitattributes

    * text=auto eol=lf
    
    *.bat text eol=crlf
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jul 28 09:21:57 UTC 2021
    - 52 bytes
    - Viewed (0)
  4. okhttp-sse/src/main/kotlin/okhttp3/sse/EventSources.kt

    import okhttp3.Response
    import okhttp3.sse.EventSource.Companion.processEventSource
    import okhttp3.sse.EventSource.Factory.Companion.asEventSourceFactory
    
    object EventSources {
      @Deprecated(
        message = "required for binary-compatibility!",
        level = DeprecationLevel.HIDDEN,
      )
      @JvmStatic
      fun createFactory(client: OkHttpClient) = client.asEventSourceFactory()
    
      @Deprecated(
        message = "Moved to extension function.",
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  5. .github/workflows/contributor-pr.yml

          - name: Upload Compatibility Report
            if: always()
            uses: actions/upload-artifact@v4
            with:
              name: binary-compatibility-report
              path: testing/architecture-test/build/reports/binary-compatibility/report.html
    
      unit-test:
        name: "${{ matrix.bucket.name }} (Unit Test)"
        permissions:
          contents: read
        runs-on: ubuntu-latest
        needs: build
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Thu Sep 04 22:13:34 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  6. src/archive/zip/writer_test.go

    // Copyright 2011 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package zip
    
    import (
    	"bytes"
    	"compress/flate"
    	"encoding/binary"
    	"fmt"
    	"hash/crc32"
    	"io"
    	"io/fs"
    	"math/rand"
    	"os"
    	"strings"
    	"testing"
    	"testing/fstest"
    	"time"
    )
    
    // TODO(adg): a more sophisticated test suite
    
    type WriteTest struct {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Jan 28 04:20:09 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  7. src/packaging/deb/init.d/fess

    # Look for the right JVM to use
    for jdir in $JDK_DIRS; do
        if [ -r "$jdir/bin/java" -a -z "${JAVA_HOME}" ]; then
            JAVA_HOME="$jdir"
        fi
    done
    export JAVA_HOME
    
    # Directory where the Fess binary distribution resides
    FESS_HOME=${packaging.fess.home.dir}
    
    # Heap size defaults to 256m min, 1g max
    # Set FESS_HEAP_SIZE to 50% of available RAM, but no more than 31g
    #FESS_HEAP_SIZE=2g
    
    # Heap new generation
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Jan 15 06:32:15 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  8. cmd/service.go

    // restartProcess starts a new process passing it the active fd's. It
    // doesn't fork, but starts a new process using the same environment and
    // arguments as when it was originally started. This allows for a newly
    // deployed binary to be started. It returns the pid of the newly started
    // process when successful.
    func restartProcess() error {
    	if runtime.GOOS == globalWindowsOSName {
    		cmd := exec.Command(os.Args[0], os.Args[1:]...)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Feb 28 07:02:14 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/lang/ClassLoaderUtil.java

                throw new IORuntimeException(e);
            }
        }
    
        /**
         * Loads the class with the specified binary name.
         *
         * @param loader
         *            The class loader. Must not be {@literal null}.
         * @param className
         *            The binary name of the class. Must not be {@literal null} or an empty string.
         * @return The resulting <code>Class</code> object.
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  10. cmd/erasure-metadata-utils.go

    		if len(versions) > 0 {
    			diskVersionsCount[binary.BigEndian.Uint64(versions)]++
    		}
    	}
    
    	var commonVersions uint64
    	maxCnt := 0
    	for versions, count := range diskVersionsCount {
    		if maxCnt < count {
    			maxCnt = count
    			commonVersions = versions
    		}
    	}
    
    	if maxCnt >= writeQuorum {
    		for _, versions := range diskVersions {
    			if binary.BigEndian.Uint64(versions) == commonVersions {
    				return versions
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
Back to top