Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 5,356 for stringy (0.11 sec)

  1. cmd/os_unix.go

    				continue
    			}
    
    			typ = fi.Mode() & os.ModeType
    		}
    
    		var nameStr string
    		if typ.IsRegular() {
    			nameStr = string(name)
    		} else if typ.IsDir() {
    			// Use temp buffer to append a slash to avoid string concat.
    			tmp = tmp[:len(name)+1]
    			copy(tmp, name)
    			tmp[len(tmp)-1] = '/' // SlashSeparator
    			nameStr = string(tmp)
    		}
    
    		count--
    		entries = append(entries, nameStr)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  2. cmd/admin-handlers-idp-config.go

    		}
    		cfgData = subSys + tgtSuffix + config.KvSpaceSeparator + string(reqBytes)
    	}
    
    	cfg, err := readServerConfig(ctx, objectAPI, nil)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	dynamic, err := cfg.ReadConfig(strings.NewReader(cfgData))
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_unified_experimental_eager.cc

    using tensorflow::AbstractTensorHandle;
    using tensorflow::dyn_cast;
    using tensorflow::ImmediateExecutionContext;
    using tensorflow::ImmediateExecutionTensorHandle;
    using tensorflow::string;
    using tensorflow::unwrap;
    using tensorflow::wrap;
    using tensorflow::strings::StrCat;
    
    TF_ExecutionContext* TF_NewEagerExecutionContext(TFE_ContextOptions* options,
                                                     TF_Status* s) {
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Jun 25 04:40:46 UTC 2020
    - 3.2K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt

     * of Android's private InetAddress#isNumeric API.
     *
     * This matches IPv6 addresses as a hex string containing at least one colon, and possibly
     * including dots after the first colon. It matches IPv4 addresses as strings containing only
     * decimal digits and dots. This pattern matches strings like "a:.23" and "54" that are neither IP
     * addresses nor hostnames; they will be verified as IP addresses (which is a more strict
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/graph/AbstractGraphTest.java

      static final Integer NODE_NOT_IN_GRAPH = 1000;
    
      // TODO(user): Consider separating Strings that we've defined here to capture
      // identifiable substrings of expected error messages, from Strings that we've defined
      // here to provide error messages.
      // TODO(user): Some Strings used in the subclasses can be added as static Strings
      // here too.
      static final String ERROR_MODIFIABLE_SET = "Set returned is unexpectedly modifiable";
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/lex/input.go

    	macros          map[string]*Macro
    	text            string // Text of last token returned by Next.
    	peek            bool
    	peekToken       ScanToken
    	peekText        string
    }
    
    // NewInput returns an Input from the given path.
    func NewInput(name string) *Input {
    	return &Input{
    		// include directories: look in source dir, then -I directories.
    		includes:        append([]string{filepath.Dir(name)}, flags.I...),
    		beginningOfLine: true,
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Sep 06 13:17:27 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  7. cmd/data-usage-cache.go

    	}
    }
    
    // StringAll returns a detailed string representation of all entries in the cache.
    func (d *dataUsageCache) StringAll() string {
    	// Remove bloom filter from print.
    	s := fmt.Sprintf("info:%+v\n", d.Info)
    	for k, v := range d.Cache {
    		s += fmt.Sprintf("\t%v: %+v\n", k, v)
    	}
    	return strings.TrimSpace(s)
    }
    
    // String returns a human readable representation of the string.
    func (h dataUsageHash) String() string {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  8. internal/ioutil/ioutil_test.go

    	if err != nil {
    		t.Error(err)
    	}
    
    	expected := "aaaaaaaaaabbbbbbbbbb"
    	if string(b) != expected {
    		t.Errorf("AppendFile() failed, expected: %s, got %s", expected, string(b))
    	}
    }
    
    func TestSkipReader(t *testing.T) {
    	testCases := []struct {
    		src      io.Reader
    		skipLen  int64
    		expected string
    	}{
    		{bytes.NewBuffer([]byte("")), 0, ""},
    		{bytes.NewBuffer([]byte("")), 1, ""},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java

      }
    
      public void testString() {
        Random random = new Random();
        for (int i = 0; i < 100; i++) {
          byte[] bytes = new byte[64];
          random.nextBytes(bytes);
          String s = new String(bytes, UTF_16LE); // so all random strings are valid
          assertEquals(
              new TestHasher().putUnencodedChars(s).hash(),
              new TestHasher().putBytes(s.getBytes(UTF_16LE)).hash());
          assertEquals(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. internal/config/notify/legacy.go

    		config.KV{
    			Key:   config.Enable,
    			Value: config.EnableOn,
    		},
    		config.KV{
    			Key: target.KafkaBrokers,
    			Value: func() string {
    				var brokers []string
    				for _, broker := range cfg.Brokers {
    					brokers = append(brokers, broker.String())
    				}
    				return strings.Join(brokers, config.ValueSeparator)
    			}(),
    		},
    		config.KV{
    			Key:   target.KafkaTopic,
    			Value: cfg.Topic,
    		},
    		config.KV{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 19 04:37:54 UTC 2024
    - 13.1K bytes
    - Viewed (0)
Back to top