Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 702 for switch_a (0.13 sec)

  1. guava-tests/test/com/google/common/base/StopwatchTest.java

        ticker.advance(999999);
        assertEquals(0, stopwatch.elapsed(MILLISECONDS));
        ticker.advance(1);
        assertEquals(1, stopwatch.elapsed(MILLISECONDS));
      }
    
      @J2ktIncompatible // TODO(b/259213718): Switch J2kt to String.format("%.4g") once that's supported
      public void testToString() {
        stopwatch.start();
        assertEquals("0.000 ns", stopwatch.toString());
        ticker.advance(1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java

        return RESULT_DATA;
      }
    
      private class ChainingFunction implements AsyncFunction<Integer, String> {
        @Override
        public ListenableFuture<String> apply(Integer input) throws Exception {
          switch (input) {
            case VALID_INPUT_DATA:
              outputFuture.set(RESULT_DATA);
              break;
            case SLOW_OUTPUT_VALID_INPUT_DATA:
              break; // do nothing to the result
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/NtlmContext.java

                    }
                }
                ri += len;
            }
    
            return null;
        }
        public byte[] initSecContext(byte[] token, int offset, int len) throws SmbException {
            switch (state) {
                case 1:
                    Type1Message msg1 = new Type1Message(ntlmsspFlags, auth.getDomain(), workstation);
                    token = msg1.toByteArray();
    
                    if (log.level >= 4) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5.9K bytes
    - Viewed (0)
  4. cmd/background-heal-ops.go

    	for {
    		select {
    		case task, ok := <-h.tasks:
    			if !ok {
    				return
    			}
    
    			var res madmin.HealResultItem
    			var err error
    			switch task.bucket {
    			case nopHeal:
    				err = errSkipFile
    			case SlashSeparator:
    				res, err = healDiskFormat(ctx, objAPI, task.opts)
    			default:
    				if task.object == "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

         * there's another race: If the first thread fails with an exception and a second thread
         * immediately fails with the same exception:
         *
         * Thread1: calls setException(), which returns true, context switch before it can CAS
         * seenExceptions to its exception
         *
         * Thread2: calls setException(), which returns false, CASes seenExceptions to its exception,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 28 20:40:51 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. cmd/streaming-v4-unsigned.go

    			break
    		}
    
    		// Manually deserialize the size since AWS specified
    		// the chunk size to be of variable width. In particular,
    		// a size of 16 is encoded as `10` while a size of 64 KB
    		// is `10000`.
    		switch {
    		case b >= '0' && b <= '9':
    			size = size<<4 | int(b-'0')
    		case b >= 'a' && b <= 'f':
    			size = size<<4 | int(b-('a'-10))
    		case b >= 'A' && b <= 'F':
    			size = size<<4 | int(b-('A'-10))
    		default:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat May 06 02:53:12 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponse.java

            return bufferIndex - start;
        }
    
    
        /**
         * @return
         */
        protected Decodable createOutputDecodable () {
            switch ( this.ctlCode ) {
            case Smb2IoctlRequest.FSCTL_DFS_GET_REFERRALS:
                return new DfsReferralResponseBuffer();
            case Smb2IoctlRequest.FSCTL_SRV_REQUEST_RESUME_KEY:
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 7.4K bytes
    - Viewed (0)
  8. cmd/ftp-server.go

    	var err error
    	for _, arg := range args {
    		tokens := strings.SplitN(arg, "=", 2)
    		if len(tokens) != 2 {
    			logger.Fatal(fmt.Errorf("invalid arguments passed to --ftp=%s", arg), "unable to start FTP server")
    		}
    		switch tokens[0] {
    		case "address":
    			host, portStr, err := net.SplitHostPort(tokens[1])
    			if err != nil {
    				logger.Fatal(fmt.Errorf("invalid arguments passed to --ftp=%s (%v)", arg, err), "unable to start FTP server")
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Mar 09 03:07:08 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. cmd/admin-handlers-users.go

    	if objectAPI == nil {
    		return
    	}
    
    	vars := mux.Vars(r)
    	group := vars["group"]
    	status := vars["status"]
    
    	var (
    		err       error
    		updatedAt time.Time
    	)
    	switch status {
    	case statusEnabled:
    		updatedAt, err = globalIAMSys.SetGroupStatus(ctx, group, true)
    	case statusDisabled:
    		updatedAt, err = globalIAMSys.SetGroupStatus(ctx, group, false)
    	default:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/UUID.java

            int value = 0;
            int ai, count;
    
            count = 0;
            for ( ai = offset; ai < arr.length && count < length; ai++ ) {
                value <<= 4;
                switch ( arr[ ai ] ) {
                case '0':
                case '1':
                case '2':
                case '3':
                case '4':
                case '5':
                case '6':
                case '7':
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.6K bytes
    - Viewed (0)
Back to top