Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 606 for switches (1.61 sec)

  1. src/main/java/jcifs/smb1/util/transport/Transport.java

         * @throws TransportException if the connection fails or times out
         */
        public synchronized void connect(final long timeout) throws TransportException {
            try {
                switch (state) {
                case 0:
                    break;
                case 3:
                    return; // already connected
                case 4:
                    state = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. cmd/tier.go

    	if len(data) <= 4 {
    		return nil, errors.New("tierConfigInit: no data")
    	}
    
    	// Read header
    	switch format := binary.LittleEndian.Uint16(data[0:2]); format {
    	case tierConfigFormat:
    	default:
    		return nil, fmt.Errorf("tierConfigInit: unknown format: %d", format)
    	}
    
    	cfg := NewTierConfigMgr()
    	switch version := binary.LittleEndian.Uint16(data[2:4]); version {
    	case tierConfigV1, tierConfigVersion:
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/crawler/serializer/DataSerializer.java

         * @throws IORuntimeException if an I/O error occurs during serialization
         */
        public byte[] fromObjectToBinary(final Object obj) {
            final String serializer = getSerializerType();
            return switch (serializer) {
            case KRYO -> serializeWithKryo(obj);
            case JAVABIN -> SerializeUtil.fromObjectToBinary(obj);
            default -> throw new IllegalArgumentException("Unexpected value: " + serializer);
            };
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/util/MimeMap.java

            final byte[] ext = extension.toLowerCase().getBytes("ASCII");
    
            state = ST_START;
            t = x = i = 0;
            for (off = 0; off < inLen; off++) {
                ch = in[off];
                switch (state) {
                case ST_START:
                    if (ch == ' ' || ch == '\t') {
                        break;
                    }
                    if (ch == '#') {
                        state = ST_COMM;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  5. cmd/net_test.go

    		expectedIPList set.StringSet
    		expectedErr    error
    	}{
    		{"localhost", set.CreateStringSet("127.0.0.1"), nil},
    	}
    
    	for _, testCase := range testCases {
    		ipList, err := getHostIP(testCase.host)
    		switch {
    		case testCase.expectedErr == nil:
    			if err != nil {
    				t.Fatalf("error: expected = <nil>, got = %v", err)
    			}
    		case err == nil:
    			t.Fatalf("error: expected = %v, got = <nil>", testCase.expectedErr)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  6. cmd/veeam-sos-api.go

    	capacityXMLObject = ".system-d26a9498-cb7c-4a87-a44a-8ae204f5ba6c/capacity.xml"
    	veeamAgentSubstr  = "APN/1.0 Veeam/1.0"
    )
    
    func isVeeamSOSAPIObject(object string) bool {
    	switch object {
    	case systemXMLObject, capacityXMLObject:
    		return true
    	default:
    		return false
    	}
    }
    
    // isVeeamClient - returns true if the request is from Veeam client.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 15 00:34:56 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/CompactHashMap.java

      /*
       * The following methods are safe to call as long as both of the following hold:
       *
       * - allocArrays() has been called. Callers can confirm this by checking needsAllocArrays().
       *
       * - The map has not switched to delegating to a java.util implementation to mitigate hash
       *   flooding. Callers can confirm this by null-checking delegateOrNull().
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  8. cmd/metacache-set.go

    			return ctx.Err()
    		}
    		for i, r := range readers {
    			if errs[i] != nil {
    				hasErr++
    				continue
    			}
    			entry, err := r.peek()
    			switch err {
    			case io.EOF:
    				atEOF++
    				continue
    			case nil:
    			default:
    				switch err.Error() {
    				case errFileNotFound.Error():
    					atEOF++
    					fnf++
    					continue
    				case errVolumeNotFound.Error():
    					atEOF++
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 30.7K bytes
    - Viewed (0)
  9. README.md

    project's git repository now:
    
    - Lucene: <https://gitbox.apache.org/repos/asf/lucene.git>
    - Solr: <https://gitbox.apache.org/repos/asf/solr.git>
    
    If you're seeing this message then switch the development to 'main':
    git checkout main
    
    Development for branch 8x remains in the shared repository:
    
    - https://gitbox.apache.org/repos/asf/lucene-solr.git
    
    ## GitHub forks?
    
    Registered: Wed Sep 10 00:11:11 UTC 2025
    - Last Modified: Wed Mar 10 10:02:23 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/lex/input.go

    		// need to keep track of nested #if[n]defs.
    		// We let #line through because it might affect errors.
    		switch in.Stack.Text() {
    		case "else", "endif", "ifdef", "ifndef", "line":
    			// Press on.
    		default:
    			return false
    		}
    	}
    	switch in.Stack.Text() {
    	case "define":
    		in.define()
    	case "else":
    		in.else_()
    	case "endif":
    		in.endif()
    	case "ifdef":
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Sep 06 13:17:27 UTC 2024
    - 12.5K bytes
    - Viewed (0)
Back to top