Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1401 - 1410 of 1,634 for byteEq (0.13 sec)

  1. src/archive/tar/strconv_test.go

    		{"0123456789\x00abcdef", 0, false},
    		{"01234567\x0089abcdef", 342391, true},
    		{"0123\x7e\x5f\x264123", 0, false},
    	}
    
    	for _, v := range vectors {
    		var p parser
    		got := p.parseNumeric([]byte(v.in))
    		ok := (p.err == nil)
    		if ok != v.ok {
    			if v.ok {
    				t.Errorf("parseNumeric(%q): got parsing failure, want success", v.in)
    			} else {
    				t.Errorf("parseNumeric(%q): got parsing success, want failure", v.in)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Feb 09 05:28:50 UTC 2021
    - 14K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/Kerb5Authenticator.java

         * {@inheritDoc}
         *
         * @see jcifs.smb.NtlmPasswordAuthenticator#createContext(jcifs.CIFSContext, java.lang.String, java.lang.String,
         *      byte[], boolean)
         */
        @Override
        public SSPContext createContext ( CIFSContext tc, String targetDomain, String host, byte[] initialToken, boolean doSigning ) throws SmbException {
            if ( host.indexOf('.') < 0 && host.toUpperCase(Locale.ROOT).equals(host) ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 13K bytes
    - Viewed (0)
  3. cmd/bucket-quota.go

    		bui, ok := dui.BucketsUsage[bucket]
    		if ok {
    			return bui
    		}
    	}
    	return BucketUsageInfo{}
    }
    
    // parseBucketQuota parses BucketQuota from json
    func parseBucketQuota(bucket string, data []byte) (quotaCfg *madmin.BucketQuota, err error) {
    	quotaCfg = &madmin.BucketQuota{}
    	if err = json.Unmarshal(data, quotaCfg); err != nil {
    		return quotaCfg, err
    	}
    	if !quotaCfg.IsValid() {
    		if quotaCfg.Type == "fifo" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 00:34:56 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/TypeNameResolver.java

        public TypeNameResolver(ClassMetaDataRepository<ClassMetaData> metaDataRepository) {
            this.metaDataRepository = metaDataRepository;
            primitiveTypes.add("boolean");
            primitiveTypes.add("byte");
            primitiveTypes.add("char");
            primitiveTypes.add("short");
            primitiveTypes.add("int");
            primitiveTypes.add("long");
            primitiveTypes.add("float");
            primitiveTypes.add("double");
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.3K bytes
    - Viewed (0)
  5. cmd/xl-storage_unix_test.go

    	}
    
    	// Attempt to create a file to verify the permissions later.
    	// AppendFile creates file with 0666 perms.
    	if err = disk.AppendFile(context.Background(), testCase.volName, pathJoin("hello-world.txt", xlStorageFormatFile), []byte("Hello World")); err != nil {
    		t.Fatalf("Create a file `test` failed with %s expected to pass.", err)
    	}
    
    	// CheckFile - stat the file.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 25 19:37:26 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  6. internal/s3select/json/reader.go

    }
    
    // syncReadCloser will wrap a readcloser and make it safe to call Close while
    // reads are running.
    type syncReadCloser struct {
    	rc io.ReadCloser
    	mu sync.Mutex
    }
    
    func (pr *syncReadCloser) Read(p []byte) (n int, err error) {
    	// This ensures that Close will block until Read has completed.
    	// This allows another goroutine to close the reader.
    	pr.mu.Lock()
    	defer pr.mu.Unlock()
    	if pr.rc == nil {
    		return 0, io.EOF
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. docs/em/docs/python-types.md

    ## 📣 🆎
    
    👆 👀 👑 🥉 📣 🆎 🔑. 🔢 🔢.
    
    👉 👑 🥉 👆 🔜 ⚙️ 👫 ⏮️ **FastAPI**.
    
    ### 🙅 🆎
    
    👆 💪 📣 🌐 🐩 🐍 🆎, 🚫 🕴 `str`.
    
    👆 💪 ⚙️, 🖼:
    
    * `int`
    * `float`
    * `bool`
    * `bytes`
    
    ```Python hl_lines="1"
    {!../../docs_src/python_types/tutorial005.py!}
    ```
    
    ### 💊 🆎 ⏮️ 🆎 🔢
    
    📤 📊 📊 👈 💪 🔌 🎏 💲, 💖 `dict`, `list`, `set` &amp; `tuple`. &amp; 🔗 💲 💪 ✔️ 👫 👍 🆎 💁‍♂️.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/cache2/RelayTest.kt

        assertThat(relay.isClosed).isTrue()
        assertFile(Relay.PREFIX_CLEAN, 20L, metadata.size, "abcdefghijklmnopqrst", metadata)
      }
    
      /** Returns a callable that reads all of source, closes it, and returns the bytes.  */
      private fun sourceReader(source: Source?): Callable<ByteString> {
        return Callable {
          val buffer = Buffer()
          while (source!!.read(buffer, 16384) != -1L) {
          }
          source.close()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

      private final NullPointerTester nullPointerTester = new NullPointerTester();
    
      public ClassSanityTester() {
        // TODO(benyu): bake these into ArbitraryInstances.
        setDefault(byte.class, (byte) 1);
        setDefault(Byte.class, (byte) 1);
        setDefault(short.class, (short) 1);
        setDefault(Short.class, (short) 1);
        setDefault(int.class, 1);
        setDefault(Integer.class, 1);
        setDefault(long.class, 1L);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:18:12 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/hash/AbstractNonStreamingHashFunctionTest.java

        }
      }
    
      static class NonStreamingVersion extends AbstractNonStreamingHashFunction {
        @Override
        public int bits() {
          return 32;
        }
    
        @Override
        public HashCode hashBytes(byte[] input, int off, int len) {
          return HashCode.fromBytes(Arrays.copyOfRange(input, off, off + len));
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.4K bytes
    - Viewed (0)
Back to top