Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 618 for switches (0.05 sec)

  1. src/main/java/jcifs/pac/kerberos/KerberosTicket.java

            }
    
            Enumeration<?> fields = sequence.getObjects();
            while (fields.hasMoreElements()) {
                ASN1TaggedObject tagged = ASN1Util.as(ASN1TaggedObject.class, fields);
                switch (tagged.getTagNo()) {
                case 0:// Kerberos version
                    ASN1Integer tktvno = ASN1Util.as(ASN1Integer.class, tagged);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  2. android/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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 6.3K 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/RequestParamTest.java

            assertEquals(name, rp.name(), "name() must match input");
            assertEquals(name, rp.toString(), "toString() should default to name()");
            // Ordinal is consistent with declaration order
            switch (name) {
            case "NONE":
                assertEquals(0, rp.ordinal());
                break;
            case "NO_TIMEOUT":
                assertEquals(1, rp.ordinal());
                break;
            case "NO_RETRY":
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

         * exception. But 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
         * seenExceptionsField to its exception
         *
         * Thread2: calls setException(), which returns false, CASes seenExceptionsField to its
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/spnego/NegTokenInit.java

                final Enumeration<ASN1Object> fields = sequence.getObjects();
                while (fields.hasMoreElements()) {
                    tagged = (ASN1TaggedObject) fields.nextElement();
                    switch (tagged.getTagNo()) {
                    case 0:
                        sequence = ASN1Sequence.getInstance(tagged, true);
                        final ASN1ObjectIdentifier[] mechs = new ASN1ObjectIdentifier[sequence.size()];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableSet.java

        return fromArrayWithExpectedSize(elements, estimatedSizeForUnknownDuplication(elements.length));
      }
    
      private static <E> ImmutableSet<E> fromArrayWithExpectedSize(E[] elements, int expectedSize) {
        switch (elements.length) {
          case 0:
            return of();
          case 1:
            return of(elements[0]);
          default:
            SetBuilderImpl<E> builder = new RegularSetBuilderImpl<>(expectedSize);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/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':
                case '8':
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java

            command = SMB_COM_TREE_CONNECT_ANDX;
        }
    
        @Override
        int getBatchLimit(final byte command) {
            final int c = 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:
                return batchLimits[3];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.6K bytes
    - Viewed (0)
Back to top