Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 56 for SS (0.04 sec)

  1. src/archive/tar/reader_test.go

    func TestReadTruncation(t *testing.T) {
    	var ss []string
    	for _, p := range []string{
    		"testdata/gnu.tar",
    		"testdata/ustar-file-reg.tar",
    		"testdata/pax-path-hdr.tar",
    		"testdata/sparse-formats.tar",
    	} {
    		buf, err := os.ReadFile(p)
    		if err != nil {
    			t.Fatalf("unexpected error: %v", err)
    		}
    		ss = append(ss, string(buf))
    	}
    
    	data1, data2, pax, sparse := ss[0], ss[1], ss[2], ss[3]
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/idn/IdnaMappingTableTest.kt

            rangeStarts += compactTable.ranges[i].code
          }
          assertThat(rangeStarts).isEqualTo(rangeStarts.sorted())
        }
      }
    
      @Test fun deviations() {
        assertThat("ß".map()).isEqualTo("ß")
        assertThat("ς".map()).isEqualTo("ς")
        assertThat("\u200c".map()).isEqualTo("\u200c")
        assertThat("\u200d".map()).isEqualTo("\u200d")
      }
    
      @Test fun ignored() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/beans/util/CopyOptionsTest.java

            assertThat(new CopyOptions().timeConverter("ss").convertValue(new java.sql.Time(0), "aaa", String.class), is((Object) "00"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testTimestampConverter() throws Exception {
            assertThat(new CopyOptions().timestampConverter("yyyyMMdd ss").convertValue(new java.sql.Timestamp(0), "aaa", String.class),
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 12K bytes
    - Viewed (0)
  4. internal/config/dns/operator_dns.go

    		Issuer:    c.username,
    		Subject:   config.EnvDNSWebhook,
    	}
    
    	token := jwt.NewWithClaims(jwt.SigningMethodHS512, claims)
    	ss, err := token.SignedString([]byte(c.password))
    	if err != nil {
    		return err
    	}
    
    	r.Header.Set("Authorization", "Bearer "+ss)
    	return nil
    }
    
    func (c *OperatorDNS) endpoint(bucket string, delete bool) (string, error) {
    	u, err := url.Parse(c.Endpoint)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Mar 06 16:56:10 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  5. internal/config/storageclass/storage-class.go

    	Standard    StorageClass `json:"standard"`
    	RRS         StorageClass `json:"rrs"`
    	Optimize    string       `json:"optimize"`
    	inlineBlock int64
    
    	initialized bool
    }
    
    // UnmarshalJSON - Validate SS and RRS parity when unmarshalling JSON.
    func (sCfg *Config) UnmarshalJSON(data []byte) error {
    	type Alias Config
    	aux := &struct {
    		*Alias
    	}{
    		Alias: (*Alias)(sCfg),
    	}
    	return json.Unmarshal(data, &aux)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  6. cmd/erasure-server-pool-decom_gen.go

    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "st":
    			z.StartTime, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "StartTime")
    				return
    			}
    		case "ss":
    			z.StartSize, err = dc.ReadInt64()
    			if err != nil {
    				err = msgp.WrapError(err, "StartSize")
    				return
    			}
    		case "ts":
    			z.TotalSize, err = dc.ReadInt64()
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 04 21:02:54 UTC 2022
    - 26.7K bytes
    - Viewed (0)
  7. istioctl/pkg/admin/istiodconfig.go

    		return nil, err
    	}
    	if !matched {
    		return nil, fmt.Errorf("pattern %s did not match", sslp)
    	}
    	scopeStackTraceLevel := strings.Split(sslp, ":")
    	ss := &scopeStackTraceLevelPair{
    		scope:    scopeStackTraceLevel[0],
    		logLevel: scopeStackTraceLevel[1],
    	}
    	return ss, nil
    }
    
    func newScopeInfosFromScopeStackTraceLevelPairs(scopeStackTraceLevelPairs string) ([]*ScopeInfo, error) {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

                InjectorImpl injector,
                Provider<PlexusContainer> containerProvider,
                Class<? extends Annotation> sa,
                Class<? extends Scope> ss) {
            injector.bindScope(sa, () -> {
                try {
                    return containerProvider.get().lookup(ss);
                } catch (ComponentLookupException e) {
                    throw new RuntimeException(e);
                }
            });
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  9. cmd/object-api-utils_test.go

    		if hasSuffixByte(elem[len(elem)-1], SlashSeparatorChar) {
    			trailingSlash = SlashSeparator
    		}
    	}
    	return path.Join(elem...) + trailingSlash
    }
    
    func concatNaive(ss ...string) string {
    	rs := ss[0]
    	for i := 1; i < len(ss); i++ {
    		rs += ss[i]
    	}
    	return rs
    }
    
    func benchmark(b *testing.B, data []string) {
    	b.Run("concat naive", func(b *testing.B) {
    		b.ResetTimer()
    		b.ReportAllocs()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  10. src/archive/tar/common.go

    type headerError []string
    
    func (he headerError) Error() string {
    	const prefix = "archive/tar: cannot encode header"
    	var ss []string
    	for _, s := range he {
    		if s != "" {
    			ss = append(ss, s)
    		}
    	}
    	if len(ss) == 0 {
    		return prefix
    	}
    	return fmt.Sprintf("%s: %v", prefix, strings.Join(ss, "; and "))
    }
    
    // Type flags for Header.Typeflag.
    const (
    	// Type '0' indicates a regular file.
    	TypeReg = '0'
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Sep 13 21:03:27 UTC 2024
    - 24.5K bytes
    - Viewed (0)
Back to top