Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1271 - 1280 of 1,634 for byte1 (0.04 sec)

  1. src/test/java/org/codelibs/core/convert/BinaryConversionUtilTest.java

         * .
         */
        @Test
        public void testToBinary() {
            assertThat(BinaryConversionUtil.toBinary(null), nullValue());
            final byte[] b = { 0x00, 0x01 };
            assertThat(BinaryConversionUtil.toBinary(b), is(b));
            assertThat(BinaryConversionUtil.toBinary("hoge"), is("hoge".getBytes()));
        }
    
        /**
         * Test method for
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. internal/disk/directio_unix.go

    		return err
    	}
    	flag &= ^(syscall.O_DIRECT)
    	_, err = unix.FcntlInt(fd, unix.F_SETFL, flag)
    	return err
    }
    
    // AlignedBlock - pass through to directio implementation.
    func AlignedBlock(blockSize int) []byte {
    	return directio.AlignedBlock(blockSize)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 17 14:31:36 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  3. internal/disk/stat_linux_32bit.go

    	fsTypeHex := strconv.FormatInt(int64(ftype), 16)
    	fsTypeString, ok := fsType2StringMap[fsTypeHex]
    	if !ok {
    		return "UNKNOWN"
    	}
    	return fsTypeString
    }
    
    // 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
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_request_files/test_tutorial003_an.py

    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/Encodable.java

     */
    package jcifs;
    
    
    /**
     * @author mbechler
     *
     */
    public interface Encodable {
    
        /**
         * @param dst
         * @param dstIndex
         * @return encoded length
         */
        int encode ( byte[] dst, int dstIndex );
    
    
        /**
         * @return the encoded size
         */
        int size ();
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java

            return session;
        }
    
        private static final char[] hexCode = "0123456789ABCDEF".toCharArray();
    
        private static String printHexBinary(byte[] data) {
            StringBuilder r = new StringBuilder(data.length * 2);
            for (byte b : data) {
                r.append(hexCode[(b >> 4) & 0xF]);
                r.append(hexCode[(b & 0xF)]);
            }
            return r.toString();
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  7. misc/ios/go_ios_exec.go

    	if err := os.WriteFile(entitlementsPath, []byte(entitlementsPlist()), 0744); err != nil {
    		return err
    	}
    	if err := os.WriteFile(filepath.Join(appdir, "Info.plist"), []byte(infoPlist(pkgpath)), 0744); err != nil {
    		return err
    	}
    	if err := os.WriteFile(filepath.Join(appdir, "ResourceRules.plist"), []byte(resourceRules), 0744); err != nil {
    		return err
    	}
    	return nil
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Jun 18 16:32:49 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  8. docs/metrics/prometheus/grafana/bucket/minio-bucket.json

                    "value": null
                  },
                  {
                    "color": "red",
                    "value": 80
                  }
                ]
              },
              "unit": "bytes"
            },
            "overrides": [
              {
                "matcher": {
                  "id": "byName",
                  "options": "Replication Errors"
                },
                "properties": [
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 11:11:51 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  9. istioctl/pkg/admin/istiodconfig_test.go

    	case http.MethodGet:
    		_, _ = writer.Write([]byte(getResponse))
    	}
    }
    
    func adsHandler(writer http.ResponseWriter, request *http.Request) {
    	const getResponse = `{"name":"ads","description":"ads debugging","output_level":"info","stack_trace_level":"none","log_callers":false}`
    
    	switch request.Method {
    	case http.MethodGet:
    		_, _ = writer.Write([]byte(getResponse))
    	}
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/SmbResource.java

    
        /**
         * Returns the length of this <tt>SmbResource</tt> in bytes. If this object
         * is a <tt>TYPE_SHARE</tt> the total capacity of the disk shared in
         * bytes is returned. If this object is a directory or a type other than
         * <tt>TYPE_SHARE</tt>, 0L is returned.
         *
         * @return The length of the file in bytes or 0 if this
         *         <code>SmbResource</code> is not a file.
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 26K bytes
    - Viewed (0)
Back to top