Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 611 - 620 of 797 for CBytes (0.06 seconds)

  1. guava-tests/test/com/google/common/primitives/LongsTest.java

                    }))
            .isEqualTo(0xFFEEDDCCBBAA9988L);
      }
    
      public void testFromByteArrayFails() {
        assertThrows(
            IllegalArgumentException.class, () -> Longs.fromByteArray(new byte[Longs.BYTES - 1]));
      }
    
      public void testFromBytes() {
        assertThat(
                Longs.fromBytes(
                    (byte) 0x12,
                    (byte) 0x13,
                    (byte) 0x14,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 28.8K bytes
    - Click Count (0)
  2. cmd/metacache-stream_test.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"io"
    	"os"
    	"reflect"
    	"sync"
    	"testing"
    )
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 15K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb1/smb1/SecurityDescriptor.java

         *
         * @param buffer the byte buffer containing the security descriptor data
         * @param bufferIndex the starting offset in the buffer
         * @param len the length of data to decode
         * @return the number of bytes decoded
         * @throws IOException if an I/O error occurs during decoding
         */
        public int decode(final byte[] buffer, int bufferIndex, final int len) throws IOException {
            final int start = bufferIndex;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  4. cmd/tier_gen.go

    			bts, err = msgp.Skip(bts)
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z *TierConfigMgr) Msgsize() (s int) {
    	s = 1 + 6 + msgp.MapHeaderSize
    	if z.Tiers != nil {
    		for za0001, za0002 := range z.Tiers {
    			_ = za0002
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  5. android/guava-tests/benchmark/com/google/common/hash/HashCodeBenchmark.java

     *
     * <p>Parameters for the benchmark are:
     *
     * <ul>
     *   <li>size: the length of the byte array to hash
     *   <li>whereToDiffer: where in the array the bytes should differ
     *   <li>equalsImpl: which implementation of array equality to use
     * </ul>
     *
     * <p><b>Important note:</b> the primary goal of this benchmark is to ensure that varying {@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 4K bytes
    - Click Count (0)
  6. docs/ru/docs/advanced/custom-response.md

    ///
    
    ### `Response` { #response }
    
    Базовый класс `Response`, от него наследуются все остальные ответы.
    
    Его можно возвращать напрямую.
    
    Он принимает следующие параметры:
    
    - `content` — `str` или `bytes`.
    - `status_code` — целое число, HTTP статус-код.
    - `headers` — словарь строк.
    - `media_type` — строка, задающая тип содержимого. Например, `"text/html"`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 17.6K bytes
    - Click Count (0)
  7. docs/uk/docs/advanced/custom-response.md

    ### `Response` { #response }
    
    Головний клас `Response`, від якого успадковуються всі інші відповіді.
    
    Ви можете повертати його безпосередньо.
    
    Він приймає такі параметри:
    
    - `content` - `str` або `bytes`.
    - `status_code` - `int` - код статусу HTTP.
    - `headers` - `dict` строк.
    - `media_type` - `str`, що задає медіа-тип, напр. `"text/html"`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 17K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/dfs/Referral.java

         *
         * @return the version
         */
        public final int getVersion() {
            return this.version;
        }
    
        /**
         * Gets the size of this referral entry in bytes.
         *
         * @return the size
         */
        public final int getSize() {
            return this.size;
        }
    
        /**
         * Gets the server type of this referral.
         *
         * @return the serverType
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  9. docs/de/docs/advanced/middleware.md

    {* ../../docs_src/advanced_middleware/tutorial003_py310.py hl[2,6] *}
    
    Die folgenden Argumente werden unterstützt:
    
    * `minimum_size` – Responses, die kleiner als diese Mindestgröße in Bytes sind, nicht per GZip komprimieren. Der Defaultwert ist `500`.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  10. tests/test_default_response_class.py

    from fastapi.testclient import TestClient
    
    
    class ORJSONResponse(JSONResponse):
        media_type = "application/x-orjson"
    
        def render(self, content: Any) -> bytes:
            return orjson.dumps(content)
    
    
    class OverrideResponse(JSONResponse):
        media_type = "application/x-override"
    
    
    app = FastAPI(default_response_class=ORJSONResponse)
    router_a = APIRouter()
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 20:49:20 GMT 2020
    - 5.2K bytes
    - Click Count (0)
Back to Top