Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for GetString (0.1 sec)

  1. android/guava-tests/test/com/google/common/io/CharSinkTest.java

        writer.close();
    
        assertTrue(sink.wasStreamClosed());
        assertEquals(STRING, sink.getString());
      }
    
      public void testWrite_string() throws IOException {
        assertEquals("", sink.getString());
        sink.write(STRING);
    
        assertTrue(sink.wasStreamOpened() && sink.wasStreamClosed());
        assertEquals(STRING, sink.getString());
      }
    
      public void testWriteFrom_reader() throws IOException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. 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: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 16 15:33:47 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/io/ResourceBundleUtil.java

         * @return 指定されたキーの文字列。{@literal null}や空文字列であってはいけません
         * @see ResourceBundle#getString(String)
         */
        public static String getString(final ResourceBundle bundle, final String key) {
            assertArgumentNotNull("bundle", bundle);
            assertArgumentNotEmpty("key", key);
    
            try {
                return bundle.getString(key);
            } catch (final Throwable t) {
                return null;
            }
        }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. istioctl/pkg/clioptions/central.go

    // (Currently just --endpoint)
    func (o *CentralControlPlaneOptions) AttachControlPlaneFlags(cmd *cobra.Command) {
    	cmd.PersistentFlags().StringVar(&o.Xds, "xds-address", viper.GetString("XDS-ADDRESS"),
    		"XDS Endpoint")
    	cmd.PersistentFlags().StringVar(&o.CertDir, "cert-dir", viper.GetString("CERT-DIR"),
    		"XDS Endpoint certificate directory")
    	cmd.PersistentFlags().StringVar(&o.XdsPodLabel, "xds-label", "",
    		"Istiod pod label selector")
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Jun 06 03:39:27 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/Transport.java

         * @throws RuntimeException If failed (and not due source not exists).
         */
        @Nonnull
        default Optional<String> getString(@Nonnull URI relativeSource) {
            return getString(relativeSource, StandardCharsets.UTF_8);
        }
    
        /**
         * PUTs the source file (must exist as file) to target URI. The target MUST BE relative from the
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/pac/kerberos/KerberosTicket.java

                    }
                    break;
                case 1:// Realm
                    DERGeneralString derRealm = ASN1Util.as(DERGeneralString.class, tagged);
                    this.serverRealm = derRealm.getString();
                    break;
                case 2:// Principal
                    ASN1Sequence principalSequence = ASN1Util.as(ASN1Sequence.class, tagged);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Oct 02 12:02:06 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/message/MessageFormatter.java

                final String pattern = ResourceBundleUtil.getString(resourceBundle, key);
                if (pattern != null) {
                    return pattern;
                }
            }
            return resourceBundle.getString(messageCode);
        }
    
        /**
         * システム名を返します。
         *
         * @param messageCode
         *            メッセージコード
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. .teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt

        val testClassAndSourceSet: TestClassAndSourceSet,
        val buildTimeMs: Int
    ) {
        constructor(jsonObject: JSONObject) : this(
            TestClassAndSourceSet(
                jsonObject.getString("testClass"),
                jsonObject.getString("sourceSet")
            ),
            jsonObject.getIntValue("buildTimeMs")
        )
    }
    
    data class TestCoverageAndBucketSplits(
        val testCoverageUuid: Int,
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Aug 29 11:04:49 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/lang/FieldUtilTest.java

            FieldUtil.set(field, this, testData);
            assertThat(FieldUtil.getString(field, this), is(testData));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetStringFieldObject() throws Exception {
            final Field field = getClass().getField("STRING_DATA");
            assertThat(FieldUtil.getString(field), is(STRING_DATA));
        }
    
        /**
         * @throws Exception
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java

                try {
                    value = item.getString(encoding);
                    haveValue = true;
                } catch (final Exception e) {}
            }
            if (!haveValue) {
                try {
                    value = item.getString(Charset.forName("ISO-8859-1"));
                } catch (final java.io.UnsupportedEncodingException uee) {
                    value = item.getString();
                } catch (final IOException e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Oct 23 13:27:21 UTC 2024
    - 18.6K bytes
    - Viewed (0)
Back to top