Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for _get_string (0.21 sec)

  1. cni/pkg/cmd/root.go

    		LabelKey:           viper.GetString(constants.RepairLabelKey),
    		LabelValue:         viper.GetString(constants.RepairLabelValue),
    		NodeName:           viper.GetString(constants.RepairNodeName),
    		SidecarAnnotation:  viper.GetString(constants.RepairSidecarAnnotation),
    		InitContainerName:  viper.GetString(constants.RepairInitContainerName),
    		InitTerminationMsg: viper.GetString(constants.RepairInitTerminationMsg),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:35 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. pkg/kubelet/types/types.go

    	return &Timestamp{parsed}
    }
    
    // Get returns the time as time.Time.
    func (t *Timestamp) Get() time.Time {
    	return t.time
    }
    
    // GetString returns the time in the string format using the RFC3339NanoFixed
    // layout.
    func (t *Timestamp) GetString() string {
    	return t.time.Format(logs.RFC3339NanoFixed)
    }
    
    // SortedContainerStatuses is a type to help sort container statuses based on container names.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 13:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. .teamcity/src/main/kotlin/configurations/FunctionalTest.kt

            fun fromJson(jsonObject: JSONObject): ParallelizationMethod {
                val methodJsonObject = jsonObject.getJSONObject("parallelizationMethod") ?: return None
                return when (methodJsonObject.getString("name")) {
                    null -> None
                    TestDistribution::class.simpleName -> TestDistribution
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 05:47:35 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginValidationManager.java

        }
    
        private List<String> parsePluginExcludes(RepositorySystemSession session) {
            String excludes = ConfigUtils.getString(session, null, MAVEN_PLUGIN_VALIDATION_EXCLUDES_KEY);
            if (excludes == null || excludes.isEmpty()) {
                return Collections.emptyList();
            }
            return Arrays.stream(excludes.split(","))
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 23 12:25:04 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultTransport.java

                    }
                }
            } catch (IOException e) {
                throw new UncheckedIOException(e);
            }
        }
    
        @Override
        public Optional<String> getString(URI relativeSource, Charset charset) {
            requireNonNull(charset, "charset is null");
            Optional<byte[]> data = getBytes(relativeSource);
            return data.map(bytes -> new String(bytes, charset));
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 16:33:18 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. src/debug/elf/file.go

    		sym.Size = f.ByteOrder.Uint64(data[16:24])
    		str, _ := getString(strdata, int(sym.Name))
    		symbols[i].Name = str
    		symbols[i].Info = sym.Info
    		symbols[i].Other = sym.Other
    		symbols[i].Section = SectionIndex(sym.Shndx)
    		symbols[i].Value = sym.Value
    		symbols[i].Size = sym.Size
    		i++
    		data = data[Sym64Size:]
    	}
    
    	return symbols, strdata, nil
    }
    
    // getString extracts a string from an ELF string table.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 23 16:49:58 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/CharSourceTest.java

        assertEquals(STRING.length(), source.copyTo(sink));
        assertTrue(source.wasStreamOpened() && source.wasStreamClosed());
        assertTrue(sink.wasStreamOpened() && sink.wasStreamClosed());
    
        assertEquals(STRING, sink.getString());
      }
    
      public void testRead_toString() throws IOException {
        assertEquals(STRING, source.read());
        assertTrue(source.wasStreamOpened() && source.wasStreamClosed());
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  8. pkg/kubelet/config/config.go

    func recordFirstSeenTime(pod *v1.Pod) {
    	klog.V(4).InfoS("Receiving a new pod", "pod", klog.KObj(pod))
    	pod.Annotations[kubetypes.ConfigFirstSeenAnnotationKey] = kubetypes.NewTimestamp().GetString()
    }
    
    // updateAnnotations returns an Annotation map containing the api annotation map plus
    // locally managed annotations
    func updateAnnotations(existing, ref *v1.Pod) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/utils/const_tensor_utils.cc

      if (tensor.type == tflite::TensorType_STRING) {
        for (int i = 0; i < tflite::GetStringCount(buffer.data()); ++i) {
          tflite::StringRef str = tflite::GetString(buffer.data(), i);
          ret.add_string_val(str.str, str.len);
        }
        return ret;
      }
      std::string content;
      content.assign(reinterpret_cast<const char*>(buffer.data()), buffer.size());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 23:04:40 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  10. cmd/endpoint.go

    // HTTPS - returns true if secure for URLEndpointType.
    func (endpoints Endpoints) HTTPS() bool {
    	return endpoints[0].HTTPS()
    }
    
    // GetString - returns endpoint string of i-th endpoint (0-based),
    // and empty string for invalid indexes.
    func (endpoints Endpoints) GetString(i int) string {
    	if i < 0 || i >= len(endpoints) {
    		return ""
    	}
    	return endpoints[i].String()
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 34.1K bytes
    - Viewed (0)
Back to top