Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for parseName (0.24 sec)

  1. .github/workflows/tests.yml

            key: ${{ runner.os }}-go-${{ matrix.go }}-${{ hashFiles('tests/go.mod') }}
    
        - name: Tests
          run: GITHUB_ACTION=true GORM_DIALECT=mysql GORM_DSN="gorm:gorm@tcp(localhost:9910)/gorm?charset=utf8&parseTime=True" ./tests/tests_all.sh
    
      mariadb:
        strategy:
          matrix:
            dbversion: [ 'mariadb:latest' ]
            go: ['1.22', '1.21', '1.20']
            platform: [ ubuntu-latest ]
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 09:24:34 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.cc

    constexpr char kTPUReplicatedHost[] = "TPU_REPLICATED_HOST";
    constexpr char kBadIntArrayElementMsg[] =
        "bad '{0}' attribute at index {1}, not an int";
    
    using ParsedDevice = DeviceNameUtils::ParsedName;
    using ParsedDevices = llvm::ArrayRef<DeviceNameUtils::ParsedName>;
    
    namespace {
    // Find matching devices in `devices` based on pattern `spec`.
    llvm::SmallVector<ParsedDevice, 8> FindMatchingDevices(
        ParsedDevices devices, const ParsedDevice& spec) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 20:10:40 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  3. src/net/http/server.go

    // headers. It is like [time.RFC1123] but hard-codes GMT as the time
    // zone. The time being formatted must be in UTC for Format to
    // generate the correct format.
    //
    // For parsing this time format, see [ParseTime].
    const TimeFormat = "Mon, 02 Jan 2006 15:04:05 GMT"
    
    // appendTime is a non-allocating version of []byte(t.UTC().Format(TimeFormat))
    func appendTime(b []byte, t time.Time) []byte {
    	const days = "SunMonTueWedThuFriSat"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  4. src/net/http/serve_test.go

    	}
    }
    
    func TestAppendTime(t *testing.T) {
    	var b [len(TimeFormat)]byte
    	t1 := time.Date(2013, 9, 21, 15, 41, 0, 0, time.FixedZone("CEST", 2*60*60))
    	res := ExportAppendTime(b[:0], t1)
    	t2, err := ParseTime(string(res))
    	if err != nil {
    		t.Fatalf("Error parsing time: %s", err)
    	}
    	if !t1.Equal(t2) {
    		t.Fatalf("Times differ; expected: %v, got %v (%s)", t1, t2, string(res))
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
Back to top