Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 481 - 490 of 917 for breaking (0.06 seconds)

  1. android/guava-tests/test/com/google/common/cache/CacheBuilderFactory.java

    import java.util.Objects;
    import java.util.Set;
    import java.util.concurrent.TimeUnit;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Helper class for creating {@link CacheBuilder} instances with all combinations of several sets of
     * parameters.
     *
     * @author mike nonemacher
     */
    @NullUnmarked
    class CacheBuilderFactory {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/hash/LongAdder.java

            if (a != null) sum += a.value;
          }
        }
        return sum;
      }
    
      /**
       * Resets variables maintaining the sum to zero. This method may be a useful alternative to
       * creating a new adder, but is only effective if there are no concurrent updates. Because this
       * method is intrinsically racy, it should only be used when it is known that no threads are
       * concurrently updating.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 20 13:05:10 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  3. .github/workflows/tests.yml

              fi
              while [ $retry_count -lt $max_retries ]; do
                if docker exec -i "${container_name}" bash -c "su - omm -c 'gsql -U omm -c \"select 1;\"'" 
                then
                  echo "Creating database gorm..."
                  sql_file='/tmp/create_database.sql'
                  echo "CREATE DATABASE gorm DBCOMPATIBILITY 'PG';" > ${sql_file}
                  docker cp "${sql_file}" "${container_name}":"${sql_file}"
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Mar 23 10:05:06 GMT 2026
    - 9K bytes
    - Click Count (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/TestUtils.java

    import static org.mockito.ArgumentMatchers.anyString;
    import static org.mockito.Mockito.doAnswer;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.when;
    
    /**
     * Utility class for creating test fixtures and reducing code duplication in tests.
     */
    public final class TestUtils {
    
        private TestUtils() {
            // Utility class
        }
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  5. tests/gaussdb_test.go

    		Data:    "something else",
    	}
    
    	result := DB.Clauses(clause.OnConflict{
    		OnConstraint: "some_id_other_id_unique",
    		UpdateAll:    true,
    	}).Create(&thing2)
    	if result.Error != nil {
    		t.Errorf("creating second thing: %v", result.Error)
    	}
    
    	var things []Thing
    	if err := DB.Find(&things).Error; err != nil {
    		t.Errorf("Failed, got error: %v", err)
    	}
    
    	if len(things) > 1 {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/util/concurrent/ListenableFuture.java

     * </ul>
     *
     * <p><b>Test doubles</b>: If you need a {@code ListenableFuture} for your test, try a {@link
     * SettableFuture} or one of the methods in the {@link Futures#immediateFuture Futures.immediate*}
     * family. <b>Avoid</b> creating a mock or stub {@code Future}. Mock and stub implementations are
     * fragile because they assume that only certain methods will be called and because they often
     * implement subtleties of the API improperly.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 8K bytes
    - Click Count (0)
  7. tests/serializer_test.go

    	}
    
    	DB.Migrator().DropTable(&ProductWithAny{})
    	if err := DB.AutoMigrate(&ProductWithAny{}); err != nil {
    		t.Fatalf("failed to migrate ProductWithAny, got error %v", err)
    	}
    
    	// Test creating record with nil any field
    	product := ProductWithAny{Name: "Product 1"}
    	if err := DB.Create(&product).Error; err != nil {
    		t.Fatalf("failed to create product with nil any field, got error %v", err)
    	}
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Nov 22 03:14:36 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  8. cmd/erasure-object_test.go

    	if err != nil {
    		t.Fatalf("Expected GetObject reading data to succeed, but failed with %v", err)
    	}
    	gr.Close()
    
    	const expectedHash = "fffb6377948ebea75ad2b8058e849ef5"
    	foundHash := fmt.Sprintf("%x", h.Sum(nil))
    	if foundHash != expectedHash {
    		t.Fatalf("Expected data to have md5sum = `%s`, found `%s`", expectedHash, foundHash)
    	}
    }
    
    // Test reading an object with some outdated data in some disks
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 38.3K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/dtyp/ACE.java

     * of the access check algorithm used by Windows is required. The following
     * is a basic description of the algorithm. For a more complete description
     * we recommend reading the section on Access Control in Keith Brown's
     * "The .NET Developer's Guide to Windows Security" (which is also
     * available online).
     * <p>
     * Direct ACEs are evaluated first in order. The SID of the user performing
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  10. cmd/object-api-multipart_test.go

    	if err != nil {
    		// Failed to create NewMultipartUpload, abort.
    		t.Fatalf("%s : %s", instanceType, err.Error())
    	}
    
    	uploadID := res.UploadID
    	// Creating a dummy bucket for tests.
    	err = obj.MakeBucket(context.Background(), "unused-bucket", MakeBucketOptions{})
    	if err != nil {
    		// Failed to create newbucket, abort.
    		t.Fatalf("%s : %s", instanceType, err.Error())
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 89.4K bytes
    - Click Count (0)
Back to Top