Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 5811 - 5820 of 6,205 for newA (0.03 seconds)

  1. tests/connpool_test.go

    		},
    	}
    
    	defer func() {
    		if !reflect.DeepEqual(conn.got, conn.expect) {
    			t.Errorf("expect %#v but got %#v", conn.expect, conn.got)
    		}
    	}()
    
    	db, err := gorm.Open(mysql.New(mysql.Config{Conn: conn, DisableWithReturning: true}))
    	db.Logger = DB.Logger
    	if err != nil {
    		t.Fatalf("Should open db success, but got %v", err)
    	}
    
    	tx := db.Begin()
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sun May 25 07:40:40 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  2. internal/bucket/object/lock/lock_test.go

    			expectedErr: errors.New("expected element type <Status> but have <MyStatus>"),
    			expectErr:   true,
    		},
    		// invalid XML attr
    		{
    			value:       `<?xml version="1.0" encoding="UTF-8"?><UnknownLegalHold xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Status>ON</Status></UnknownLegalHold>`,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 18.4K bytes
    - Click Count (0)
  3. tensorflow/c/eager/gradients.cc

    absl::Status SetAttrBoolList(AbstractOperation* op_, const char* attr_name,
                                 const unsigned char* values, int num_values,
                                 ForwardOperation* forward_op_) {
      std::unique_ptr<bool[]> b(new bool[num_values]);
      for (int i = 0; i < num_values; ++i) {
        b[i] = values[i];
      }
      forward_op_->attrs.Set(attr_name,
                             gtl::ArraySlice<const bool>(b.get(), num_values));
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Tue Feb 24 06:18:31 GMT 2026
    - 19.6K bytes
    - Click Count (0)
  4. build-tools-internal/build.gradle

    targetCompatibility = minCompilerJava
    sourceCompatibility = minCompilerJava
    
    if (JavaVersion.current() < JavaVersion.toVersion(minCompilerJava)) {
      throw new GradleException("Java ${minCompilerJava} is required to build Elasticsearch but current Java is version ${JavaVersion.current()}.")
    }
    
    sourceSets {
      integTest {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 13 18:10:22 GMT 2021
    - 11.3K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt

        }
      }
    
      @Throws(IOException::class, ProtocolException::class)
      private fun readHeader() {
        if (receivedCloseFrame) throw IOException("closed")
    
        // Disable the timeout to read the first byte of a new frame.
        val b0: Int
        val timeoutBefore = source.timeout().timeoutNanos()
        source.timeout().clearTimeout()
        try {
          b0 = source.readByte() and 0xff
        } finally {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 10K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/graph/EndpointPairTest.java

        EndpointPair<String> orderedMirror = EndpointPair.ordered("b", "a");
        EndpointPair<String> unordered = EndpointPair.unordered("a", "b");
        EndpointPair<String> unorderedMirror = EndpointPair.unordered("b", "a");
    
        new EqualsTester()
            .addEqualityGroup(ordered)
            .addEqualityGroup(orderedMirror)
            .addEqualityGroup(unordered, unorderedMirror)
            .testEquals();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 30 17:09:51 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/graph/EndpointPairTest.java

        EndpointPair<String> orderedMirror = EndpointPair.ordered("b", "a");
        EndpointPair<String> unordered = EndpointPair.unordered("a", "b");
        EndpointPair<String> unorderedMirror = EndpointPair.unordered("b", "a");
    
        new EqualsTester()
            .addEqualityGroup(ordered)
            .addEqualityGroup(orderedMirror)
            .addEqualityGroup(unordered, unorderedMirror)
            .testEquals();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 30 17:09:51 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  8. internal/event/config.go

    	type queue Queue
    	parsedQueue := queue{}
    	if err := d.DecodeElement(&parsedQueue, &start); err != nil {
    		return err
    	}
    
    	if len(parsedQueue.Events) == 0 {
    		return errors.New("missing event name(s)")
    	}
    
    	eventStringSet := set.NewStringSet()
    	for _, eventName := range parsedQueue.Events {
    		if eventStringSet.Contains(eventName.String()) {
    			return &ErrDuplicateEventName{eventName}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  9. src/archive/tar/writer.go

    package tar
    
    import (
    	"errors"
    	"fmt"
    	"io"
    	"io/fs"
    	"maps"
    	"path"
    	"slices"
    	"strings"
    	"time"
    )
    
    // Writer provides sequential writing of a tar archive.
    // [Writer.WriteHeader] begins a new file with the provided [Header],
    // and then Writer can be treated as an io.Writer to supply that file's data.
    type Writer struct {
    	w    io.Writer
    	pad  int64      // Amount of padding to write after current file entry
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Feb 03 16:38:43 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  10. src/bytes/buffer_test.go

    func TestReadEmptyAtEOF(t *testing.T) {
    	b := new(Buffer)
    	slice := make([]byte, 0)
    	n, err := b.Read(slice)
    	if err != nil {
    		t.Errorf("read error: %v", err)
    	}
    	if n != 0 {
    		t.Errorf("wrong count; got %d want 0", n)
    	}
    }
    
    func TestUnreadByte(t *testing.T) {
    	b := new(Buffer)
    
    	// check at EOF
    	if err := b.UnreadByte(); err == nil {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Nov 14 19:01:17 GMT 2025
    - 19.4K bytes
    - Click Count (0)
Back to Top