Search Options

Results per page
Sort
Preferred Languages
Advance

Results 611 - 620 of 2,488 for toType (0.04 sec)

  1. src/main/java/jcifs/smb1/smb1/NetServerEnum2Response.java

            String name;
            int versionMajor;
            int versionMinor;
            int type;
            String commentOrMasterBrowser;
    
            @Override
            public String getName() {
                return name;
            }
    
            @Override
            public int getType() {
                return (type & 0x80000000) != 0 ? SmbFile.TYPE_WORKGROUP : SmbFile.TYPE_SERVER;
            }
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/WrongType.java

     */
    
    package com.google.common.collect.testing;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * A type which will never be used as the element type of any collection in our tests, and so can be
     * used to test how a Collection behaves when given input of the wrong type.
     */
    @GwtCompatible
    public enum WrongType {
      VALUE
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 934 bytes
    - Viewed (0)
  3. cmd/data-usage-utils.go

    	for tier, stats := range ts {
    		infos = append(infos, madmin.TierInfo{
    			Name:  tier,
    			Type:  globalTierConfigMgr.TierType(tier),
    			Stats: stats,
    		})
    	}
    
    	sort.Slice(infos, func(i, j int) bool {
    		if infos[i].Type == "internal" {
    			return true
    		}
    		if infos[j].Type == "internal" {
    			return false
    		}
    		return infos[i].Name < infos[j].Name
    	})
    	return infos
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 10 09:15:15 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. tests/scan_test.go

    	if err != nil {
    		t.Errorf("No error should happen, got %v", err)
    	}
    
    	type NestedEmbeddedStruct struct {
    		NestedEmbeddedIntField            int
    		NestedEmbeddedIntFieldWithDefault int `gorm:"default:2"`
    	}
    
    	type EmbeddedStruct struct {
    		EmbeddedIntField     int
    		NestedEmbeddedStruct `gorm:"embedded"`
    	}
    
    	type EmbeddedPtrStruct struct {
    		EmbeddedPtrIntField   int
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jun 12 10:57:36 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/TreeConnectResponseTest.java

            @DisplayName("Should handle share type")
            void testShareType() throws Exception {
                // Test DISK share type
                setPrivateField(response, "shareType", Smb2TreeConnectResponse.SMB2_SHARE_TYPE_DISK);
                assertEquals(Smb2TreeConnectResponse.SMB2_SHARE_TYPE_DISK, response.getShareType(), "Should handle DISK share type");
    
                // Test PIPE share type
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java

        }
    
        @Test
        @DisplayName("Test readBytesWireFormat with unknown info type throws exception")
        void testReadBytesWireFormatUnknownInfoType() {
            response = new Smb2QueryInfoResponse(mockConfig, (byte) 99, // Unknown info type
                    (byte) 0);
    
            byte[] buffer = new byte[1024];
            int bufferIndex = 0;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

            private final int type;
            private final String scope;
    
            TestNetbiosName(String name, int type, String scope) {
                // Ensure names are uppercase and limited to 15 characters
                this.name = name != null && name.length() > 15 ? name.substring(0, 15).toUpperCase() : (name != null ? name.toUpperCase() : "");
                this.type = type;
                this.scope = scope;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. cmd/signature-v4-parser.go

    	return signedHeaders, ErrNone
    }
    
    // signValues data type represents structured form of AWS Signature V4 header.
    type signValues struct {
    	Credential    credentialHeader
    	SignedHeaders []string
    	Signature     string
    }
    
    // preSignValues data type represents structured form of AWS Signature V4 query string.
    type preSignValues struct {
    	signValues
    	Date    time.Time
    	Expires time.Duration
    }
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. .generated_files

    # code.
    #
    # https://github.com/kubernetes/test-infra/blob/master/prow/plugins/size/size.go
    #
    # This file is a series of lines, each of the form:
    #     <type> <name>
    #
    # Type can be:
    #    path - an exact path to a single file
    #    file-name - an exact leaf filename, regardless of path
    #    path-prefix - a prefix match on the file path
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Tue Oct 04 23:47:25 UTC 2022
    - 750 bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/CrawlingConfigHelper.java

        }
    
        /**
         * Determines the configuration type from a given config ID.
         * The config type is identified by the first character of the config ID.
         *
         * @param configId the configuration ID to analyze
         * @return the ConfigType (WEB, FILE, or DATA) or null if the config ID is invalid or doesn't match any known type
         */
        public ConfigType getConfigType(final String configId) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.5K bytes
    - Viewed (1)
Back to top