Search Options

Results per page
Sort
Preferred Languages
Advance

Results 651 - 660 of 1,819 for else (0.02 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt

      }
    
      fun closeCodeExceptionMessage(code: Int): String? =
        if (code < 1000 || code >= 5000) {
          "Code must be in range [1000,5000): $code"
        } else if (code in 1004..1006 || code in 1015..2999) {
          "Code $code is reserved and may not be used."
        } else {
          null
        }
    
      fun validateCloseCode(code: Int) {
        val message = closeCodeExceptionMessage(code)
        require(message == null) { message!! }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/net/PercentEscaperTest.java

        UnicodeEscaper e = new PercentEscaper("", false);
        for (char c = 0; c < 128; c++) {
          if ((c >= '0' && c <= '9') || (c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z')) {
            assertUnescaped(e, c);
          } else {
            assertEscaping(e, escapeAscii(c), c);
          }
        }
    
        // Testing multibyte escape sequences
        assertEscaping(e, "%00", '\u0000'); // nul
        assertEscaping(e, "%7F", '\u007f'); // del
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java

                    if (params[i] instanceof byte[]) {
                        paramTypes[i] = byte[].class;
                    } else if (params[i] instanceof Integer) {
                        paramTypes[i] = int.class; // Use primitive int.class instead of Integer.class
                    } else {
                        paramTypes[i] = params[i].getClass();
                    }
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/pac/kerberos/KerberosTokenTest.java

            // Write length
            if (content.length < 128) {
                baos.write(content.length);
            } else if (content.length < 256) {
                baos.write(0x81); // length of length = 1
                baos.write(content.length);
            } else {
                baos.write(0x82); // length of length = 2
                baos.write((content.length >> 8) & 0xFF);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/AbstractSortedSetMultimap.java

        } else {
          return unmodifiableSortedSet((SortedSet<E>) collection);
        }
      }
    
      @Override
      Collection<V> wrapCollection(@ParametricNullness K key, Collection<V> collection) {
        if (collection instanceof NavigableSet) {
          return new WrappedNavigableSet(key, (NavigableSet<V>) collection, null);
        } else {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Mar 20 13:05:10 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  6. .github/workflows/CheckBadMerge.groovy

                    }
                    System.err.println("And then amend the merge commit to remove all offending changes.")
                    System.exit(1)
                } else {
                    println(" -> No bad files found")
                }
            } else {
                println(" -> is not a merge commit we're looking for.")
            }
        }
    
        static List<String> filesFromMerge(String commit) {
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Fri Jan 24 10:03:31 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java

            } else {
                SMBUtil.writeInt4(0, buffer, offset + 4);
            }
    
            // Group SID offset
            if (includeGroup) {
                SMBUtil.writeInt4(currentOffset, buffer, offset + 8);
                prepareSimpleSid(buffer, offset + currentOffset);
                currentOffset += 20; // Simple SID size
            } else {
                SMBUtil.writeInt4(0, buffer, offset + 8);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbSession.java

                             not specified. SMB signing may not work propertly.\
                              Skipping DC interrogation.""");
                }
            } else {
                final SmbSession ssn = trans.getSmbSession(NtlmPasswordAuthentication.DEFAULT);
                ssn.getSmbTree(LOGON_SHARE, null).treeConnect(null, null);
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  9. cmd/update_test.go

    			t.Errorf("Expected %s, got %s", "podman pull quay.io/minio/minio:"+minioVersion1, durl)
    		}
    	} else {
    		if runtime.GOOS == "windows" {
    			if durl != MinioReleaseURL+"minio.exe" {
    				t.Errorf("Expected %s, got %s", MinioReleaseURL+"minio.exe", durl)
    			}
    		} else {
    			if durl != MinioReleaseURL+"minio" {
    				t.Errorf("Expected %s, got %s", MinioReleaseURL+"minio", durl)
    			}
    		}
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  10. cmd/namespace-lock.go

    	}
    	nsLk.ref++
    	n.lockMap[resource] = nsLk
    	n.lockMapMutex.Unlock()
    
    	// Locking here will block (until timeout).
    	if readLock {
    		locked = nsLk.GetRLock(ctx, opsID, lockSource, timeout)
    	} else {
    		locked = nsLk.GetLock(ctx, opsID, lockSource, timeout)
    	}
    
    	if !locked { // We failed to get the lock
    		// Decrement ref count since we failed to get the lock
    		n.lockMapMutex.Lock()
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top