Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 129 for hex (0.08 sec)

  1. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java

        @Test
        @DisplayName("toString includes information level in hex")
        void testToString() {
            int level = 0xABC;
            Trans2QueryFSInformation cmd = new Trans2QueryFSInformation(level);
            String str = cmd.toString();
            // toString uses Hexdump.toHexString(informationLevel, 3)
            assertTrue(str.contains(Hexdump.toHexString(level, 3)), "toString should contain hex level");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. docs/debugging/inspect/export.go

    	tmp := struct {
    		VersionID string
    		ModTime   time.Time
    		Signature string
    		Type      uint8
    		Flags     uint8
    	}{
    		VersionID: hex.EncodeToString(z.VersionID[:]),
    		ModTime:   time.Unix(0, z.ModTime),
    		Signature: hex.EncodeToString(z.Signature[:]),
    		Type:      z.Type,
    		Flags:     z.Flags,
    	}
    	return json.Marshal(tmp)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jan 17 19:38:44 UTC 2025
    - 9.1K bytes
    - Viewed (1)
  3. src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java

            SmbShareInfo info = new SmbShareInfo(TEST_NET_NAME, type, TEST_REMARK);
            String str = info.toString();
    
            // Verify type is displayed as hex
            assertNotNull(str);
            assertTrue(str.contains("type=0x"));
            // The type should be formatted as 8-character hex
            String expectedHex = String.format("%08x", type);
            assertTrue(str.toLowerCase().contains(expectedHex));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComDeleteTest.java

            assertTrue(result.contains("searchAttributes=0x"));
            assertTrue(result.contains("fileName=" + TEST_FILE_NAME));
    
            // Get private searchAttributes field to verify the hex value
            int searchAttributes = getSearchAttributes(smbComDelete);
            String expectedSearchAttributes = "searchAttributes=0x" + Hexdump.toHexString(searchAttributes, 4);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  5. cmd/erasure-coding.go

    			failOnErr(e.DecodeDataBlocks(encoded))
    			if a, b := first, encoded[0]; !bytes.Equal(a, b) {
    				fmt.Fprintf(os.Stderr, "%v: error on self-test [d:%d,p:%d]: want %#v, got %#v\n", algo, conf[0], conf[1], hex.EncodeToString(a), hex.EncodeToString(b))
    				ok = false
    				continue
    			}
    		}
    	}
    	if !ok {
    		logger.Fatal(errSelfTestFailure, "Erasure Coding self test failed")
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbAuthExceptionTest.java

                    Arguments.of(0x00000000, "NT_STATUS_SUCCESS"),
                    // An error that maps via DOS mapping
                    Arguments.of(0x00000002, SmbException.getMessageByCode(0x00000002)),
                    // Unknown code → hex string (uppercase)
                    Arguments.of(0xDEADBEEF, "0xDEADBEEF"));
        }
    
        @ParameterizedTest
        @MethodSource("errorCodes")
        void constructorInitialisesMessageAndStatus(int code, String expectedMsg) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  7. schema/naming.go

    package schema
    
    import (
    	"crypto/sha1"
    	"encoding/hex"
    	"regexp"
    	"strings"
    	"unicode/utf8"
    
    	"github.com/jinzhu/inflection"
    	"golang.org/x/text/cases"
    	"golang.org/x/text/language"
    )
    
    // Namer namer interface
    type Namer interface {
    	TableName(table string) string
    	SchemaName(table string) string
    	ColumnName(table, column string) string
    	JoinTableName(joinTable string) string
    	RelationshipFKName(Relationship) string
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jun 12 03:46:59 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  8. cmd/encryption-v1_test.go

    	{
    		ObjectKey:  [32]byte{},
    		ObjectInfo: ObjectInfo{ETag: "20000f00f27834c9a2654927546df57f9e998187496394d4ee80f3d9978f85f3c7d81f72600cdbe03d80dc5a13d6935"},
    		ETag:       "",
    		ShouldFail: true, // ETag is not a valid hex value
    	},
    	{
    		ObjectKey:  [32]byte{},
    		ObjectInfo: ObjectInfo{ETag: "00000f00f27834c9a2654927546df57f9e998187496394d4ee80f3d9978f85f3c7d81f72600cdbe03d80dc5a13d69354"},
    		ETag:       "",
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 19.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/dtyp/ACETest.java

            ace.sid = new SID("S-1-5-21-1234567890-123456789-123456789-1000");
    
            String result = ace.toString();
    
            assertTrue(result.startsWith("Allow "));
            // Hexdump.toHexString produces uppercase hex
            assertTrue(result.toLowerCase().contains("0x001200a9"));
            // ACE.toString() outputs "Direct    " with 4 spaces
            assertTrue(result.contains("Direct"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  10. cmd/bootstrap-peer-server.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 (
    	"context"
    	"crypto/md5"
    	"encoding/hex"
    	"errors"
    	"fmt"
    	"io"
    	"math/rand"
    	"os"
    	"reflect"
    	"strings"
    	"sync"
    	"time"
    
    	"github.com/minio/minio-go/v7/pkg/set"
    	"github.com/minio/minio/internal/grid"
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top