Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 704 for switch_a (0.11 sec)

  1. mockwebserver/README.md

    ```java
    final Dispatcher dispatcher = new Dispatcher() {
    
        @Override
        public MockResponse dispatch (RecordedRequest request) throws InterruptedException {
    
            switch (request.getPath()) {
                case "/v1/login/auth/":
                    return new MockResponse().setResponseCode(200);
                case "/v1/check/version/":
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Dec 17 15:34:10 UTC 2023
    - 5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java

            this.path = path;
            this.service = service;
        }
    
    
        @Override
        protected int getBatchLimit ( Configuration cfg, byte cmd ) {
            int c = cmd & 0xFF;
            switch ( c ) {
            case SMB_COM_CHECK_DIRECTORY:
                return cfg.getBatchLimit("TreeConnectAndX.CheckDirectory");
            case SMB_COM_CREATE_DIRECTORY:
                return cfg.getBatchLimit("TreeConnectAndX.CreateDirectory");
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java

            command = SMB_COM_TREE_CONNECT_ANDX;
        }
    
        int getBatchLimit( byte command ) {
            int c = (int)( command & 0xFF );
            // why isn't this just return batchLimits[c]?
            switch( c ) {
                case SMB_COM_CHECK_DIRECTORY:
                    return batchLimits[0];
                case SMB_COM_CREATE_DIRECTORY:
                    return batchLimits[2];
                case SMB_COM_DELETE:
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 6.8K bytes
    - Viewed (0)
  4. internal/config/heal/heal.go

    	},
    }
    
    const minimumBitrotCycleInMonths = 1
    
    func parseBitrotConfig(s string) (time.Duration, error) {
    	// Try to parse as a boolean
    	enabled, err := config.ParseBool(s)
    	if err == nil {
    		switch enabled {
    		case true:
    			return 0, nil
    		case false:
    			return -1, nil
    		}
    	}
    
    	// Try to parse as a number of months
    	if !strings.HasSuffix(s, "m") {
    		return -1, errors.New("unknown format")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/hash/Murmur3_128HashFunction.java

          h2 += h1;
          h2 = h2 * 5 + 0x38495ab5;
        }
    
        @Override
        protected void processRemaining(ByteBuffer bb) {
          long k1 = 0;
          long k2 = 0;
          length += bb.remaining();
          switch (bb.remaining()) {
            case 15:
              k2 ^= (long) toInt(bb.get(14)) << 48; // fall through
            case 14:
              k2 ^= (long) toInt(bb.get(13)) << 40; // fall through
            case 13:
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java

            }
    
            return e.referent;
        }
        public void enc_ndr_referent(Object obj, int type) {
            if (obj == null) {
                enc_ndr_long(0);
                return;
            }
            switch (type) {
                case 1: /* unique */
                case 3: /* ref */
                    enc_ndr_long(System.identityHashCode(obj));
                    return;
                case 2: /* ptr */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 6.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/NamingTest.java

            Assume.assumeFalse("SMB2", getContext().getConfig().getMaximumVersion().isSMB2());
            String oemEncoding = getContext().getConfig().getOemEncoding();
            String str = null;
            try {
                switch ( oemEncoding.toLowerCase(Locale.ROOT) ) {
                case "cp850":
                    str = makeCharsetString(Charset.forName(oemEncoding), 128, 256, 240, 255);
                    break;
                case "windows-1252":
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jun 06 10:48:05 UTC 2020
    - 7K bytes
    - Viewed (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/SimplexTransferListener.java

            for (Exchange exchange : exchanges) {
                exchange.process(transferEvent -> {
                    TransferEvent.EventType type = transferEvent.getType();
                    try {
                        switch (type) {
                            case INITIATED:
                                delegate.transferInitiated(transferEvent);
                                break;
                            case STARTED:
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. cmd/consolelogger.go

    }
    
    // Send log message 'e' to console and publish to console
    // log pubsub system
    func (sys *HTTPConsoleLoggerSys) Send(ctx context.Context, entry interface{}) error {
    	var lg log.Info
    	switch e := entry.(type) {
    	case log.Entry:
    		lg = log.Info{Entry: e, NodeName: sys.nodeName}
    	case string:
    		lg = log.Info{ConsoleMsg: e, NodeName: sys.nodeName}
    	}
    	atomic.AddInt64(&sys.totalMessages, 1)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. cmd/data-scanner_test.go

    	}
    
    	// Close expiry state's channel to inspect object versions enqueued for expiration
    	close(workers[0])
    	wg.Wait()
    	for _, obj := range expired {
    		switch obj.ObjectV.VersionID {
    		case uuids[2].String(), uuids[3].String(), uuids[4].String():
    		default:
    			t.Errorf("Unexpected versionID being expired: %#v\n", obj)
    		}
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 03 11:18:58 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top