Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1301 - 1310 of 2,060 for Results (0.04 seconds)

  1. android/guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java

          int x = slowItDown();
          return x + super.compareTo(e) - x; // silly attempt to prevent opt
        }
    
        static int slowItDown() {
          int result = 0;
          for (int i = 1; i <= 1000; i++) {
            result += i;
          }
          return result;
        }
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  2. docs/ru/docs/advanced/settings.md

            execute ->> code: return the result
        end
    
        rect rgba(0, 255, 255, .1)
            code ->> function: say_hi(name="Camila")
            function ->> code: return stored result
        end
    
        rect rgba(0, 255, 0, .1)
            code ->> function: say_hi(name="Rick")
            function ->> execute: execute function code
            execute ->> code: return the result
        end
    
        rect rgba(0, 255, 0, .1)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 16.5K bytes
    - Click Count (0)
  3. src/main/java/jcifs/util/InputValidator.java

         * @throws ArithmeticException if operation would overflow
         */
        public static void validateIntegerAddition(int a, int b, String operation) {
            long result = (long) a + (long) b;
            if (result > Integer.MAX_VALUE || result < Integer.MIN_VALUE) {
                throw new ArithmeticException(operation + " would cause integer overflow: " + a + " + " + b);
            }
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/io/CharSource.java

        Closer closer = Closer.create();
        try {
          BufferedReader reader = closer.register(openBufferedStream());
          List<String> result = new ArrayList<>();
          String line;
          while ((line = reader.readLine()) != null) {
            result.add(line);
          }
          return ImmutableList.copyOf(result);
        } catch (Throwable e) {
          throw closer.rethrow(e);
        } finally {
          closer.close();
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 25.7K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/CompoundOrdering.java

      }
    
      @Override
      public int compare(@ParametricNullness T left, @ParametricNullness T right) {
        for (int i = 0; i < comparators.length; i++) {
          int result = comparators[i].compare(left, right);
          if (result != 0) {
            return result;
          }
        }
        return 0;
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object == this) {
          return true;
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java

        public Map<String, String> getEffectiveProperties(@Nullable Project project) {
            HashMap<String, String> result = new HashMap<>(getSystemProperties());
            if (project != null) {
                result.putAll(project.getModel().getProperties());
            }
            result.putAll(getUserProperties());
            return result;
        }
    
        @Nonnull
        @Override
        public Version getMavenVersion() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java

                    interpolator.addPostProcessor(postProcessor);
                }
    
                try {
                    try {
                        result = interpolator.interpolate(result, recursionInterceptor);
                    } catch (InterpolationException e) {
                        throw new ModelInterpolationException(e.getMessage(), e);
                    }
    
                    if (debug) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 13.6K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

        return Platform.get(this);
      }
    
      /**
       * Returns the result of this future or throws in case of failure, just like {@link #get()} except
       * that this method <i>also</i> throws if this future is not done.
       *
       * <p>This method computes its result based on the internal state of {@link AbstractFuture}, so it
       * does not necessarily return the same result as {@link #get()} if {@link #get()} has been
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 14:39:00 GMT 2026
    - 43.6K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/validation/CustomSizeValidatorTest.java

            // Test that the method can be called (even if context handling is complex)
            try {
                final boolean result = validator.isValid("test", null);
                assertNotNull(Boolean.valueOf(result), "isValid should return a boolean result");
            } catch (final NullPointerException e) {
                // This is expected if the implementation requires a non-null context
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  10. tensorflow/c/c_api_experimental_test.cc

      }
    }
    job_name: "worker"
    task_index: 1
    protocol: "grpc"
    )");
    
      TF_Status* status = TF_NewStatus();
      TF_Buffer* result = TFE_GetServerDef(expected_text_proto.c_str(), status);
      EXPECT_EQ(TF_GetCode(status), TF_OK);
    
      ServerDef actual;
      ASSERT_TRUE(actual.ParseFromArray(result->data, result->length));
      std::string actual_text_proto;
      tensorflow::protobuf::TextFormat::PrintToString(actual, &actual_text_proto);
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Jan 07 04:56:09 GMT 2026
    - 13.1K bytes
    - Click Count (0)
Back to Top