Search Options

Results per page
Sort
Preferred Languages
Advance

Results 461 - 470 of 1,029 for results2 (0.14 sec)

  1. guava/src/com/google/common/primitives/Chars.java

          length += array.length;
        }
        char[] result = new char[checkNoOverflow(length)];
        int pos = 0;
        for (char[] array : arrays) {
          System.arraycopy(array, 0, result, pos, array.length);
          pos += array.length;
        }
        return result;
      }
    
      private static int checkNoOverflow(long result) {
        checkArgument(
            result == (int) result,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/ServerResponseValidator.java

            totalValidations.incrementAndGet();
    
            long result = (long) a + (long) b;
            if (result > Integer.MAX_VALUE || result < Integer.MIN_VALUE) {
                failedValidations.incrementAndGet();
                integerOverflowsPrevented.incrementAndGet();
                log.warn("Integer overflow in addition: {} + {} = {}", a, b, result);
                throw new SmbException("Integer overflow detected");
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  3. callbacks/create.go

    				if db.Statement.Result != nil {
    					db.Statement.Result.RowsAffected = db.RowsAffected
    				}
    			}
    
    			return
    		}
    
    		result, err := db.Statement.ConnPool.ExecContext(
    			db.Statement.Context, db.Statement.SQL.String(), db.Statement.Vars...,
    		)
    		if err != nil {
    			db.AddError(err)
    			return
    		}
    
    		db.RowsAffected, _ = result.RowsAffected()
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Jul 29 11:06:13 UTC 2025
    - 13K bytes
    - Viewed (0)
  4. generics.go

    	"gorm.io/gorm/clause"
    	"gorm.io/gorm/logger"
    )
    
    type result struct {
    	Result       sql.Result
    	RowsAffected int64
    }
    
    func (info *result) ModifyStatement(stmt *Statement) {
    	stmt.Result = info
    }
    
    // Build implements clause.Expression interface
    func (result) Build(clause.Builder) {
    }
    
    func WithResult() *result {
    	return &result{}
    }
    
    type Interface[T any] interface {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/math/LinearTransformationTest.java

        assertThat(transformation.isHorizontal()).isFalse();
        assertThat(transformation.slope()).isWithin(ALLOWED_ERROR).of(slope);
        // Note that we cannot test the actual mapping of points, as the results will be unreliable due
        // to loss of precision with this value of the slope.
      }
    
      public void testMappingWithSlope_maximalSlope() {
        double x1 = 1.2;
        double y1 = 3.4;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/math/LinearTransformationTest.java

        assertThat(transformation.isHorizontal()).isFalse();
        assertThat(transformation.slope()).isWithin(ALLOWED_ERROR).of(slope);
        // Note that we cannot test the actual mapping of points, as the results will be unreliable due
        // to loss of precision with this value of the slope.
      }
    
      public void testMappingWithSlope_maximalSlope() {
        double x1 = 1.2;
        double y1 = 3.4;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/scheduler/ApiAdminSchedulerAction.java

                throwValidationErrorApi(messages -> {
                    messages.addErrorsFailedToStartJob(GLOBAL, id);
                });
            });
            return asJson(new ApiResponse().status(Status.OK).result());
        }
    
        /**
         * Stops a scheduled job by ID.
         *
         * @param id the ID of the scheduled job to stop
         * @return JSON response indicating success or failure
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java

            // When
            String result = transCallNamedPipe.toString();
    
            // Then
            assertNotNull(result);
            assertTrue(result.contains("TransCallNamedPipe"));
            assertTrue(result.contains("pipeName=" + TEST_PIPE_NAME));
        }
    
        @Test
        @DisplayName("Test with empty data")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/netbios/NameQueryRequestTest.java

            int result = request.writeBodyWireFormat(dst, dstIndex);
    
            // Verify that writeQuestionSectionWireFormat was called
            verify((NameServicePacket) request, times(1)).writeQuestionSectionWireFormat(dst, dstIndex);
            assertEquals(10, result);
        }
    
        @Test
        void testReadBodyWireFormat() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java

            // When
            String result = trans.toString();
    
            // Then
            assertTrue(result.startsWith("Trans2QueryPathInformation["), "String should start with the class name.");
            assertTrue(result.contains("informationLevel=0x101"), "String should contain the correct information level.");
            assertTrue(result.contains("filename=test.txt"), "String should contain the correct filename.");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
Back to top