Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1001 - 1010 of 2,189 for else_ (0.08 seconds)

  1. android-test-app/src/main/kotlin/okhttp/android/testapp/TestApplication.kt

      @SuppressLint("DiscouragedPrivateApi")
      private fun getProcess(): String? =
        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) {
          getProcessName()
        } else {
          Class
            .forName("android.app.ActivityThread")
            .getDeclaredMethod("currentProcessName")
            .apply { isAccessible = true }
            .invoke(null) as String
        }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Aug 19 08:10:39 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  2. .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) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Jan 24 10:03:31 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  3. samples/tlssurvey/src/main/kotlin/okhttp3/survey/CipherSuiteSurvey.kt

        }
        println()
        val sortedSuites =
          ianaSuites.suites.sortedBy { ianaSuite ->
            val index = orderBy.indexOfFirst { it.matches(ianaSuite) }
            if (index == -1) Integer.MAX_VALUE else index
          }
        for (suiteId in sortedSuites) {
          print(suiteId.name)
          for (client in clients) {
            print("\t")
            val index = client.enabled.indexOfFirst { it.matches(suiteId) }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Apr 02 01:44:15 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  4. tests/test_dependency_after_yield_websockets.py

            self.data = ["foo", "bar", "baz"]
            self.open = True
    
        def __iter__(self) -> Generator[str, None, None]:
            for item in self.data:
                if self.open:
                    yield item
                else:
                    raise ValueError("Session closed")
    
    
    @contextmanager
    def acquire_session() -> Generator[Session, None, None]:
        session = Session()
        try:
            yield session
        finally:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 2K bytes
    - Click Count (0)
  5. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateContributorsInReleaseNotes.kt

                )
            } else {
                println("Contributors in the release notes are up to date.")
            }
        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Sun Dec 15 07:49:41 GMT 2024
    - 2K bytes
    - Click Count (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AcceptedRegressionsRuleSetup.java

            if (acceptedApiChanges != null) {
                this.acceptedApiChanges = AcceptedApiChanges.fromAcceptedChangesMap(acceptedApiChanges.get()).keySet();
            } else {
                this.acceptedApiChanges = Collections.emptySet();
            }
        }
    
        @Override
        @SuppressWarnings("unchecked")
        public void execute(ViolationCheckContext context) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 30 10:14:25 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/core/timer/TimeoutManager.java

                        if (e instanceof InterruptedException) {
                            if (logger.isDebugEnabled()) {
                                logger.debug("Interrupted.", e);
                            }
                        } else {
                            logger.warn("Failed to process a task.", e);
                        }
                    }
                    if (task.isPermanent()) {
                        task.restart();
                    }
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/smb1/NtlmContext.java

            if (serverChallenge == null) {
                ret.append("null");
            } else {
                ret.append(Hexdump.toHexString(serverChallenge, 0, serverChallenge.length * 2));
            }
            ret.append(",signingKey=");
            if (signingKey == null) {
                ret.append("null");
            } else {
                ret.append(Hexdump.toHexString(signingKey, 0, signingKey.length * 2));
            }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/compression/DefaultCompressionServiceTest.java

            // Create data with repeating patterns
            for (int i = 0; i < size; i++) {
                if (i % 100 < 50) {
                    data[i] = (byte) 'A';
                } else if (i % 100 < 75) {
                    data[i] = (byte) 'B';
                } else {
                    data[i] = (byte) (i % 26 + 'a');
                }
            }
    
            return data;
        }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferEvent.java

                if (other.exception != null) {
                    return false;
                }
            } else if (!exception.getClass().equals(other.exception.getClass())) {
                return false;
            }
            if (requestType != other.requestType) {
                return false;
            } else {
                return source.equals(other.source);
            }
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 7.7K bytes
    - Click Count (0)
Back to Top