Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 321 - 330 of 2,645 for longs (0.03 seconds)

  1. src/test/java/org/codelibs/fess/suggest/util/MapValueExtractorTest.java

            Map<String, Object> map = new HashMap<>();
            map.put("long", 123L);
            map.put("int", 456);
            map.put("string", "789");
    
            assertEquals(Long.valueOf(123L), MapValueExtractor.getLong(map, "long"));
            assertEquals(Long.valueOf(456L), MapValueExtractor.getLong(map, "int"));
            assertEquals(Long.valueOf(789L), MapValueExtractor.getLong(map, "string"));
        }
    
        @Test
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 6.4K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/math/MathPreconditions.java

        if (x <= 0) {
          throw new IllegalArgumentException(role + " (" + x + ") must be > 0");
        }
        return x;
      }
    
      @CanIgnoreReturnValue
      static long checkPositive(String role, long x) {
        if (x <= 0) {
          throw new IllegalArgumentException(role + " (" + x + ") must be > 0");
        }
        return x;
      }
    
      @CanIgnoreReturnValue
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/CommonServerMessageBlockTest.java

            // Test with MAX_VALUE
            long maxMid = Long.MAX_VALUE;
            doNothing().when(messageBlock).setMid(maxMid);
            when(messageBlock.getMid()).thenReturn(maxMid);
    
            messageBlock.setMid(maxMid);
            assertEquals(maxMid, messageBlock.getMid());
    
            // Test with MIN_VALUE
            long minMid = Long.MIN_VALUE;
            doNothing().when(messageBlock).setMid(minMid);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  4. android/guava-tests/benchmark/com/google/common/base/StopwatchBenchmark.java

    @NullUnmarked
    public class StopwatchBenchmark {
      @Benchmark
      long stopwatch(int reps) {
        long total = 0;
        for (int i = 0; i < reps; i++) {
          Stopwatch s = Stopwatch.createStarted();
          // here is where you would do something
          total += s.elapsed(NANOSECONDS);
        }
        return total;
      }
    
      @Benchmark
      long manual(int reps) {
        long total = 0;
        for (int i = 0; i < reps; i++) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsPathMapping.java

        public void setCreatedBy(String value) {
            registerModifiedProperty("createdBy");
            this.createdBy = value;
        }
    
        public Long getCreatedTime() {
            checkSpecifiedProperty("createdTime");
            return createdTime;
        }
    
        public void setCreatedTime(Long value) {
            registerModifiedProperty("createdTime");
            this.createdTime = value;
        }
    
        public String getProcessType() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessMailDeliveryDepartmentCreatorTest.java

            super.setUp(testInfo);
            originalFessConfig = ComponentUtil.getFessConfig();
    
            // Set up test configuration
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                private static final long serialVersionUID = 1L;
    
                @Override
                public String getMailFromName() {
                    return "Test Admin";
                }
    
                @Override
                public String getMailFromAddress() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  7. tests/associations_test.go

    	}
    	AssertAssociationCount(t, user, "Languages", 1, "after replace with 1 map")
    
    	var langs []Language
    	if err := DB.Model(&user).Association("Languages").Find(&langs); err != nil {
    		t.Fatalf("find languages after replace: %v", err)
    	}
    	if len(langs) != 1 || langs[0].Code != "rm2m_map_1" {
    		t.Fatalf("expected only rm2m_map_1 after replace, got %+v", langs)
    	}
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Sep 12 04:33:27 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  8. docs_src/server_sent_events/tutorial003_py310.py

    app = FastAPI()
    
    
    @app.get("/logs/stream", response_class=EventSourceResponse)
    async def stream_logs() -> AsyncIterable[ServerSentEvent]:
        logs = [
            "2025-01-01 INFO  Application started",
            "2025-01-01 DEBUG Connected to database",
            "2025-01-01 WARN  High memory usage detected",
        ]
        for log_line in logs:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 09:21:52 GMT 2026
    - 518 bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/io/ByteSource.java

        }
      }
    
      /** A view of a subsection of the containing byte source. */
      private final class SlicedByteSource extends ByteSource {
    
        final long offset;
        final long length;
    
        SlicedByteSource(long offset, long length) {
          checkArgument(offset >= 0, "offset (%s) may not be negative", offset);
          checkArgument(length >= 0, "length (%s) may not be negative", length);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 25.7K bytes
    - Click Count (0)
  10. src/main/config/es/fess_config_access_token.json

          "access_token" : {
            "properties" : {
              "createdBy" : {
                "type" : "keyword"
              },
              "createdTime" : {
                "type" : "long"
              },
              "expiredTime" : {
                "type" : "long"
              },
              "name" : {
                "type" : "keyword"
              },
              "parameter_name" : {
                "type" : "keyword"
              },
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 02 13:14:56 GMT 2021
    - 1.3K bytes
    - Click Count (0)
Back to Top