Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1191 - 1200 of 1,754 for else_ (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt

      private fun logWithTime(message: String) {
        val startNs = startNs
        val timeMs =
          if (startNs == null) {
            // Event occurred before start, for an example an early cancel.
            0L
          } else {
            TimeUnit.NANOSECONDS.toMillis(System.nanoTime() - startNs)
          }
    
        logger.invoke("[$timeMs ms] $message")
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Oct 07 21:03:04 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/testing/DummyProxy.java

        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof DummyHandler) {
            DummyHandler that = (DummyHandler) obj;
            return identity().equals(that.identity());
          } else {
            return false;
          }
        }
    
        private DummyProxy identity() {
          return DummyProxy.this;
        }
    
        @Override
        public String toString() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Aug 11 22:10:29 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  3. compat/maven-builder-support/src/main/java/org/apache/maven/building/DefaultProblem.java

            return exception;
        }
    
        @Override
        public String getMessage() {
            String msg;
    
            if (message != null && !message.isEmpty()) {
                msg = message;
            } else {
                msg = exception.getMessage();
    
                if (msg == null) {
                    msg = "";
                }
            }
    
            return msg;
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  4. tests/update_has_one_test.go

    		t.Fatalf("updated at should be updated, but not, old: %v, new %v", lastUpdatedAt.Format(time.RFC3339), user3.Account.UpdatedAt.Format(time.RFC3339))
    	} else {
    		user.Account.UpdatedAt = user4.Account.UpdatedAt
    		CheckUser(t, user4, user)
    	}
    
    	t.Run("Polymorphic", func(t *testing.T) {
    		pet := Pet{Name: "create"}
    
    		if err := DB.Create(&pet).Error; err != nil {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Jul 14 06:55:54 GMT 2022
    - 3.6K bytes
    - Click Count (0)
  5. tests/test_tutorial/test_body_nested_models/test_tutorial001_tutorial002_tutorial003.py

        client = TestClient(mod.app)
        return client
    
    
    def test_put_all(client: TestClient, mod_name: str):
        if mod_name.startswith("tutorial003"):
            tags_expected = IsList("foo", "bar", check_order=False)
        else:
            tags_expected = ["foo", "bar", "foo"]
    
        response = client.put(
            "/items/123",
            json={
                "name": "Foo",
                "description": "A very nice Item",
                "price": 35.4,
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocScanner.java

         * found.
         */
        public void find(Pattern pattern) {
            Matcher m = pattern.matcher(input);
            m.region(pos, input.length());
            if (m.find()) {
                pos = m.start();
            } else {
                pos = input.length();
            }
        }
    
        /**
         * Moves the position over the given pattern if currently looking at the pattern. Does nothing if not.
         */
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.3K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/math/MathBenchmarking.java

       */
      static BigInteger randomNonNegativeBigInteger(int numBits) {
        int digits = RANDOM_SOURCE.nextInt(numBits);
        if (digits == 0) {
          return new BigInteger(1, RANDOM_SOURCE);
        } else {
          return new BigInteger(digits, RANDOM_SOURCE).setBit(digits);
        }
      }
    
      /**
       * Equivalent to calling randomPositiveBigInteger(numBits) and then flipping the sign with 50%
       * probability.
       */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/ConsoleMavenTransferListener.java

                if (printResourceNames) {
                    int idx = resourceName.lastIndexOf('/');
    
                    if (idx < 0) {
                        buffer.append(resourceName);
                    } else {
                        buffer.append(resourceName, idx + 1, resourceName.length());
                    }
                    buffer.append(" (");
                }
    
                format.formatProgress(buffer, complete, total);
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 22 14:09:32 GMT 2024
    - 5.2K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/impl/Graph.java

                    if (ret != null) {
                        return ret;
                    }
                    cycle.removeLast();
                    stateMap.put(v, DfsState.VISITED);
                } else if (state == DfsState.VISITING) {
                    // we are already visiting this vertex, this mean we have a cycle
                    int pos = cycle.lastIndexOf(v.label);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.6K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultExtensionRealmCache.java

                    return ids.equals(other.ids)
                            && files.equals(other.files)
                            && timestamps.equals(other.timestamps)
                            && sizes.equals(other.sizes);
                } else {
                    return false;
                }
            }
    
            @Override
            public String toString() {
                return files.toString();
            }
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4.8K bytes
    - Click Count (0)
Back to Top