Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1061 - 1070 of 1,336 for io (0.08 seconds)

  1. tests/transaction_test.go

    package tests_test
    
    import (
    	"context"
    	"errors"
    	"testing"
    	"time"
    
    	"gorm.io/gorm"
    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestTransaction(t *testing.T) {
    	tx := DB.Begin()
    	user := *GetUser("transaction", Config{})
    
    	if err := tx.Save(&user).Error; err != nil {
    		t.Fatalf("No error should raise, but got %v", err)
    	}
    
    	if err := tx.First(&User{}, "name = ?", "transaction").Error; err != nil {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Sep 08 09:19:22 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/DefaultArtifactRepository.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.artifact.repository;
    
    import java.io.File;
    import java.util.Collections;
    import java.util.List;
    
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.metadata.ArtifactMetadata;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferEvent.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.repository;
    
    import java.io.File;
    import java.util.EventObject;
    
    /**
     * TransferEvent is used to notify TransferListeners about progress
     * in transfer of resources form/to the repository
     *
     */
    @Deprecated
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/project/ProjectClasspathTestType.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.project;
    
    import java.io.File;
    import java.lang.reflect.Field;
    
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.impl.resolver.DefaultArtifactDescriptorReader;
    import org.eclipse.aether.impl.ArtifactDescriptorReader;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  5. impl/maven-core/src/test/java/org/apache/maven/classrealm/DefaultClassRealmManagerTest.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.classrealm;
    
    import java.io.File;
    import java.util.ArrayList;
    import java.util.HashSet;
    import java.util.List;
    
    import org.apache.maven.extension.internal.CoreExports;
    import org.apache.maven.internal.impl.internal.DefaultCoreRealm;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/project/ProjectBuilder.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.project;
    
    import java.io.File;
    import java.util.List;
    
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.model.building.ModelSource;
    
    /**
     * Builds in-memory descriptions of projects.
     *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 10:13:56 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  7. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingRequest.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.settings.building;
    
    import java.io.File;
    import java.util.Properties;
    
    /**
     * Collects settings that control the building of effective settings.
     *
     * @deprecated since 4.0.0, use {@link org.apache.maven.api.services.SettingsBuilder} instead
     */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 6K bytes
    - Click Count (0)
  8. tests/update_test.go

    package tests_test
    
    import (
    	"errors"
    	"regexp"
    	"sort"
    	"strings"
    	"testing"
    	"time"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    	"gorm.io/gorm/utils"
    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestUpdate(t *testing.T) {
    	var (
    		users = []*User{
    			GetUser("update-1", Config{}),
    			GetUser("update-2", Config{}),
    			GetUser("update-3", Config{}),
    		}
    		user          = users[1]
    		lastUpdatedAt time.Time
    	)
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 30.4K bytes
    - Click Count (0)
  9. cmd/data-usage-cache.go

    	if err != nil {
    		return err
    	}
    	return nil
    }
    
    // deserialize the supplied byte slice into the cache.
    func (d *dataUsageCache) deserialize(r io.Reader) error {
    	var b [1]byte
    	n, _ := r.Read(b[:])
    	if n != 1 {
    		return io.ErrUnexpectedEOF
    	}
    	ver := int(b[0])
    	switch ver {
    	case dataUsageCacheVerV1:
    		return errors.New("cache version deprecated (will autoupdate)")
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 34.7K bytes
    - Click Count (0)
  10. cmd/object-multipart-handlers.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bufio"
    	"context"
    	"fmt"
    	"io"
    	"maps"
    	"net/http"
    	"net/url"
    	"sort"
    	"strconv"
    	"strings"
    	"time"
    
    	"github.com/google/uuid"
    	"github.com/minio/minio-go/v7"
    	"github.com/minio/minio-go/v7/pkg/encrypt"
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 07 16:13:09 GMT 2025
    - 39.5K bytes
    - Click Count (1)
Back to Top