Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3971 - 3980 of 6,031 for AsString (0.06 sec)

  1. internal/disk/stat_netbsd.go

    package disk
    
    import (
    	"errors"
    	"fmt"
    
    	"golang.org/x/sys/unix"
    )
    
    // GetInfo returns total and free bytes available in a directory, e.g. `/`.
    func GetInfo(path string, _ bool) (info Info, err error) {
    	s := unix.Statvfs_t{}
    	if err = unix.Statvfs(path, &s); err != nil {
    		return Info{}, err
    	}
    	reservedBlocks := uint64(s.Bfree) - uint64(s.Bavail)
    	info = Info{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. internal/bucket/replication/and.go

    package replication
    
    import (
    	"encoding/xml"
    )
    
    // And - a tag to combine a prefix and multiple tags for replication configuration rule.
    type And struct {
    	XMLName xml.Name `xml:"And" json:"And"`
    	Prefix  string   `xml:"Prefix,omitempty" json:"Prefix,omitempty"`
    	Tags    []Tag    `xml:"Tag,omitempty" json:"Tag,omitempty"`
    }
    
    var errDuplicateTagKey = Errorf("Duplicate Tag Keys are not allowed")
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  3. istioctl/pkg/util/configdump/secret.go

    func (w *Wrapper) GetRootCAFromSecretConfigDump(anySec *anypb.Any) (string, error) {
    	var secret extapi.Secret
    	if err := anySec.UnmarshalTo(&secret); err != nil {
    		return "", fmt.Errorf("failed to unmarshall ROOTCA secret: %v", err)
    	}
    	var returnStr string
    	var returnErr error
    	rCASecret := secret.GetValidationContext()
    	if rCASecret != nil {
    		trustCA := rCASecret.GetTrustedCa()
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Feb 25 04:09:53 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/validation/CustomSizeValidator.java

        private String message;
    
        @Override
        public void initialize(final CustomSize constraintAnnotation) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final String minKey = constraintAnnotation.minKey();
            if (StringUtil.isNotBlank(minKey)) {
                min = Integer.parseInt(fessConfig.get(minKey));
            }
            final String maxKey = constraintAnnotation.maxKey();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/PostMultipart.java

        try (Response response = client.newCall(request).execute()) {
          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
          System.out.println(response.body().string());
        }
      }
    
      public static void main(String... args) throws Exception {
        new PostMultipart().run();
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jun 24 12:59:42 UTC 2019
    - 2.2K bytes
    - Viewed (0)
  6. settings.gradle.kts

    project(":mockwebserver-junit4").name = "mockwebserver3-junit4"
    include(":mockwebserver-junit5")
    project(":mockwebserver-junit5").name = "mockwebserver3-junit5"
    
    val androidBuild: String by settings
    val graalBuild: String by settings
    val loomBuild: String by settings
    
    if (androidBuild.toBoolean()) {
      include(":regression-test")
    }
    
    if (graalBuild.toBoolean()) {
      include(":native-image-tests")
    }
    
    include(":okcurl")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Apr 14 14:24:05 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AtomicsTest.java

        assertThrows(NegativeArraySizeException.class, () -> Atomics.newReferenceArray(-1));
      }
    
      public void testNewReferenceArray_withStringArray() throws Exception {
        String[] array = {"foo", "bar", "baz"};
        AtomicReferenceArray<String> refArray = Atomics.newReferenceArray(array);
        for (int i = 0; i < array.length; ++i) {
          assertEquals(array[i], refArray.get(i));
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/Handler.java

        }
        public URLConnection openConnection( URL u ) throws IOException {
            return new SmbFile( u );
        }
        protected void parseURL( URL u, String spec, int start, int limit ) {
            String host = u.getHost();
            String path, ref;
            int port;
    
            if( spec.equals( "smb1://" )) {
                spec = "smb1:////";
                limit += 2;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/trans/TransWaitNamedPipe.java

            return 0;
        }
    
    
        @Override
        protected int readDataWireFormat ( byte[] buffer, int bufferIndex, int len ) {
            return 0;
        }
    
    
        @Override
        public String toString () {
            return new String("TransWaitNamedPipe[" + super.toString() + ",pipeName=" + this.name + "]");
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.4K bytes
    - Viewed (0)
  10. tests/non_std_test.go

    package tests_test
    
    import (
    	"testing"
    	"time"
    )
    
    type Animal struct {
    	Counter    uint64 `gorm:"primary_key:yes"`
    	Name       string `gorm:"DEFAULT:'galeone'"`
    	From       string // test reserved sql keyword as field name
    	Age        *time.Time
    	unexported string // unexported value
    	CreatedAt  time.Time
    	UpdatedAt  time.Time
    }
    
    func TestNonStdPrimaryKeyAndDefaultValues(t *testing.T) {
    	DB.Migrator().DropTable(&Animal{})
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top