Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for readInt (0.27 sec)

  1. cmd/data-usage-cache_gen.go

    							return
    						}
    					case "nv":
    						za0002.NumVersions, err = dc.ReadInt()
    						if err != nil {
    							err = msgp.WrapError(err, "Tiers", za0001, "NumVersions")
    							return
    						}
    					case "no":
    						za0002.NumObjects, err = dc.ReadInt()
    						if err != nil {
    							err = msgp.WrapError(err, "Tiers", za0001, "NumObjects")
    							return
    						}
    					default:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 21 17:21:35 GMT 2024
    - 100.8K bytes
    - Viewed (0)
  2. cmd/storage-datatypes_gen.go

    			return
    		}
    		z.Data = nil
    	} else {
    		z.Data, err = dc.ReadBytes(z.Data)
    		if err != nil {
    			err = msgp.WrapError(err, "Data")
    			return
    		}
    	}
    	z.NumVersions, err = dc.ReadInt()
    	if err != nil {
    		err = msgp.WrapError(err, "NumVersions")
    		return
    	}
    	z.SuccessorModTime, err = dc.ReadTime()
    	if err != nil {
    		err = msgp.WrapError(err, "SuccessorModTime")
    		return
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 127.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/mylasta/action/FessLabels.java

        /** The key of the message: Purge User Before */
        public static final String LABELS_PURGE_USER_INFO_DAY = "{labels.purgeUserInfoDay}";
    
        /** The key of the message: Reading */
        public static final String LABELS_READING = "{labels.reading}";
    
        /** The key of the message: Role ID */
        public static final String LABELS_ROLE_TYPE_IDS = "{labels.roleTypeIds}";
    
        /** The key of the message: Script */
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Fri Mar 22 11:58:34 GMT 2024
    - 146.4K bytes
    - Viewed (0)
  4. cmd/object-handlers_test.go

    		}
    		// read the response body.
    		actualContent, err := io.ReadAll(rec.Body)
    		if err != nil {
    			t.Fatalf("Test %d: %s: Failed reading response body: <ERROR> %v", i+1, instanceType, err)
    		}
    
    		if rec.Code == http.StatusOK || rec.Code == http.StatusPartialContent {
    			if !bytes.Equal(testCase.expectedContent, actualContent) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

        val response = call.execute()
        val inputStream = response.body.byteStream()
        assertThat(inputStream.read().toChar()).isEqualTo('A')
        call.cancel()
        assertFailsWith<IOException> {
          // Reading 'B' may succeed if it's buffered.
          inputStream.read()
    
          // But 'C' shouldn't be buffered (the response is throttled) and this should fail.
          inputStream.read()
        }
        inputStream.close()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbFile.java

     *
     * @return <code>true</code> if the file is read-only
     */
    
        public boolean canRead() throws SmbException {
            if( getType() == TYPE_NAMED_PIPE ) { // try opening the pipe for reading?
                return true;
            }
            return exists(); // try opening and catch sharing violation?
        }
    
    /**
     * Tests to see if the file this <code>SmbFile</code> represents
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
  7. cmd/object-handlers.go

    	}
    	return false
    }
    
    // CopyObjectHandler - Copy Object
    // ----------
    // This implementation of the PUT operation adds an object to a bucket
    // while reading the object from another source.
    // Notice: The S3 client can send secret keys in headers for encryption related jobs,
    // the handler should ensure to remove these keys before sending them to the object layer.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  8. cmd/server_test.go

    	c.Assert(err, nil)
    	// executing the HTTP request.
    	response, err = s.client.Do(request)
    	c.Assert(err, nil)
    	// validating the response status code.
    	c.Assert(response.StatusCode, http.StatusOK)
    	// reading the response body.
    	// response body is expected to have the copied content of the first uploaded object.
    	object, err := io.ReadAll(response.Body)
    	c.Assert(err, nil)
    	c.Assert(string(object), "hello world")
    }
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  9. cmd/site-replication.go

    			c.Lock()
    			defer c.Unlock()
    			c.state = srState{}
    			c.enabled = false
    		}
    		return err
    	}
    
    	// attempt to read just the version key in the state file to ensure we
    	// are reading a compatible version.
    	var ver struct {
    		Version int `json:"version"`
    	}
    	err = json.Unmarshal(buf, &ver)
    	if err != nil {
    		return err
    	}
    	if ver.Version != srStateFormatVersion1 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  10. operator/cmd/mesh/testdata/manifest-generate/data-snapshot.tar.gz

    ["*"] # TODO: should be on just */status but wildcard is not supported verbs: ["update", "patch"] - apiGroups: ["gateway.networking.k8s.io"] resources: ["gatewayclasses"] verbs: ["create", "update", "patch", "delete"] # Needed for multicluster secret reading, possibly ingress certs in the future - apiGroups: [""] resources: ["secrets"] verbs: ["get", "watch", "list"] # Used for MCS serviceexport management - apiGroups: ["{{ $mcsAPIGroup }}"] resources: ["serviceexports"] verbs: [ "get", "watch", "list",...
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jan 10 05:10:03 GMT 2024
    - 198.1K bytes
    - Viewed (1)
Back to top