Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 881 - 890 of 1,627 for result7 (0.13 seconds)

  1. guava/src/com/google/common/collect/Count.java

      public int addAndGet(int delta) {
        return value += delta;
      }
    
      public void set(int newValue) {
        value = newValue;
      }
    
      public int getAndSet(int newValue) {
        int result = value;
        value = newValue;
        return result;
      }
    
      @Override
      public int hashCode() {
        return value;
      }
    
      @Override
      public boolean equals(@Nullable Object obj) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java

            try {
                Artifact artifact = new Artifact("invalid-prefix-simple", "1.0.0");
                String result = themeHelper.getThemeName(artifact);
                // May not throw exception but return unexpected result
                assertNotNull(result);
            } catch (Exception e) {
                assertTrue(true); // Expected exception
            }
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14.7K bytes
    - Click Count (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt

        // Shared segments cannot be compacted so we'll get a long chain of short segments.
        val result = Buffer()
        while (!buffer.exhausted()) {
          val box = Buffer()
          box.write(buffer, 1)
          result.write(box.copy(), 1)
        }
        return result
      }
    
      tailrec fun File.isDescendentOf(directory: File): Boolean {
        val parentFile = parentFile ?: return false
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  4. tests/scopes_test.go

    	if db.Find(&User{}).Statement.Table != "custom_table" {
    		t.Errorf("failed to call Scopes")
    	}
    
    	result := DB.Scopes(NameIn1And2, func(tx *gorm.DB) *gorm.DB {
    		return tx.Session(&gorm.Session{})
    	}).Find(&users1)
    
    	if result.RowsAffected != 2 {
    		t.Errorf("Should found two users's name in 1, 2, but got %v", result.RowsAffected)
    	}
    
    	var maxId int64
    	userTable := func(db *gorm.DB) *gorm.DB {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Jan 12 08:42:21 GMT 2024
    - 3.3K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java

        }
    
        @Override
        public int hashCode() {
            int result = interfaceIndex;
            result = 31 * result + (address != null ? address.hashCode() : 0);
            return result;
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb2/rdma/RdmaErrorHandler.java

        }
    
        /**
         * Execute an RDMA operation with automatic retry and error handling
         *
         * @param <T> the type of result returned by the operation
         * @param operation the operation to execute
         * @param connection the RDMA connection to use
         * @return operation result
         * @throws IOException if operation fails after all retries
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  7. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/TestDohMain.kt

      for (dns in dnsProviders) {
        println("Testing ${dns.url}")
        for (host in names) {
          print("$host: ")
          System.out.flush()
          try {
            val results = dns.lookup(host)
            println(results)
          } catch (uhe: UnknownHostException) {
            var e: Throwable? = uhe
            while (e != null) {
              println(e)
              e = e.cause
            }
          }
        }
        println()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/MoreCollectors.java

              (state, o) -> state.add((o == null) ? NULL_PLACEHOLDER : o),
              ToOptionalState::combine,
              state -> {
                Object result = state.getElement();
                return (result == NULL_PLACEHOLDER) ? null : result;
              },
              Collector.Characteristics.UNORDERED);
    
      /**
       * A collector that takes a stream containing exactly one element and returns that element. The
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 18 16:22:33 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  9. utils/utils_test.go

    			expected: []int{1, 2, 3},
    		},
    	}
    
    	for _, testcase := range tests {
    		t.Run(testcase.name, func(t *testing.T) {
    			result := RTrimSlice(testcase.input, testcase.trimLen)
    			if !AssertEqual(result, testcase.expected) {
    				t.Errorf("RTrimSlice(%v, %d) = %v; want %v", testcase.input, testcase.trimLen, result, testcase.expected)
    			}
    		})
    	}
    }
    
    //go:noinline
    func fileWithLineNumWrappedInnerForTest() string {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:31:30 GMT 2026
    - 5.5K bytes
    - Click Count (0)
  10. 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)
Back to Top