Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4981 - 4990 of 6,031 for AsString (0.06 sec)

  1. internal/disk/stat_freebsd.go

    package disk
    
    import (
    	"errors"
    	"fmt"
    	"syscall"
    )
    
    // GetInfo returns total and free bytes available in a directory, e.g. `/`.
    func GetInfo(path string, _ bool) (info Info, err error) {
    	s := syscall.Statfs_t{}
    	err = syscall.Statfs(path, &s)
    	if err != nil {
    		return Info{}, err
    	}
    	reservedBlocks := s.Bfree - uint64(s.Bavail)
    	info = Info{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. istioctl/pkg/util/configdump/wrapper.go

    	"istio.io/istio/pkg/util/protomarshal"
    )
    
    type resolver struct {
    	*protoregistry.Types
    }
    
    var nonStrictResolver = &resolver{protoregistry.GlobalTypes}
    
    func (r *resolver) FindMessageByURL(url string) (protoreflect.MessageType, error) {
    	typ, err := r.Types.FindMessageByURL(url)
    	if err != nil {
    		// Here we ignore the error since we want istioctl to ignore unknown types due to the Envoy version change
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/Handshake.kt

      }
    
      override fun toString(): String {
        val peerCertificatesString = peerCertificates.map { it.name }.toString()
        return "Handshake{" +
          "tlsVersion=$tlsVersion " +
          "cipherSuite=$cipherSuite " +
          "peerCertificates=$peerCertificatesString " +
          "localCertificates=${localCertificates.map { it.name }}}"
      }
    
      private val Certificate.name: String
        get() =
          when (this) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/labeltype/ApiAdminLabeltypeAction.java

                            .total(pager.getAllRecordCount()).status(ApiResult.Status.OK).result());
        }
    
        // GET /api/admin/labeltype/setting/{id}
        @Execute
        public JsonResponse<ApiResult> get$setting(final String id) {
            return asJson(new ApiConfigResponse().setting(labelTypeService.getLabelType(id).map(this::createEditBody).orElseGet(() -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. clause/insert_test.go

    package clause_test
    
    import (
    	"fmt"
    	"testing"
    
    	"gorm.io/gorm/clause"
    )
    
    func TestInsert(t *testing.T) {
    	results := []struct {
    		Clauses []clause.Interface
    		Result  string
    		Vars    []interface{}
    	}{
    		{
    			[]clause.Interface{clause.Insert{}},
    			"INSERT INTO `users`", nil,
    		},
    		{
    			[]clause.Interface{clause.Insert{Modifier: "LOW_PRIORITY"}},
    			"INSERT LOW_PRIORITY INTO `users`", nil,
    		},
    		{
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Jun 02 01:18:01 UTC 2020
    - 737 bytes
    - Viewed (0)
  6. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerAdapter.kt

       *     writing process sets something else. This is used to encode SEQUENCES in values that are
       *     declared to have non-constructed values, like OCTET STRING values.
       */
      @Suppress("UNCHECKED_CAST") // read() produces a single element of the expected type.
      fun withExplicitBox(
        tagClass: Int = DerHeader.TAG_CLASS_CONTEXT_SPECIFIC,
        tag: Long,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/osgi/OsgiTest.kt

        repositoryPlugin.deployDirectory(testResourceDir / "deployments")
        repositoryPlugin.deployClassPath()
      }
    
      private fun createBndRun(workspace: Workspace): Bndrun {
        // Creating the run require string. It will always use the latest version of each bundle
        // available in the repository.
        val runRequireString =
          REQUIRED_BUNDLES.joinToString(separator = ",") {
            "osgi.identity;filter:='(osgi.identity=$it)'"
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  8. test-site/app/models/SuggestIndex.java

    import org.codelibs.fess.suggest.index.contents.document.ESSourceReader;
    import org.codelibs.fess.suggest.request.suggest.SuggestResponse;
    
    public class SuggestIndex {
        public SuggestResponse suggest(String query) {
            return ComponentsUtil.suggester.suggest()
                .setQuery(query)
                .execute().getResponse();
        }
    
        public void index() {
            Suggester suggester = ComponentsUtil.suggester;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Fri Nov 06 08:48:32 UTC 2015
    - 964 bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/WebSocket.kt

       * This method returns false in that case, and in any other case where this web socket is closing,
       * closed, or canceled.
       *
       * This method returns immediately.
       */
      fun send(text: String): Boolean
    
      /**
       * Attempts to enqueue `bytes` to be sent as a the data of a binary (type `0x2`) message.
       *
       * This method returns true if the message was enqueued. Messages that would overflow the outgoing
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

        int actualCrc = Hashing.crc32c().hashBytes(data).asInt();
        assertEquals(
            String.format("expected: %08x, actual: %08x", expectedCrc, actualCrc),
            expectedCrc,
            actualCrc);
        int actualCrcHasher = Hashing.crc32c().newHasher().putBytes(data).hash().asInt();
        assertEquals(
            String.format("expected: %08x, actual: %08x", expectedCrc, actualCrc),
            expectedCrc,
            actualCrcHasher);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top