Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 80 for getStrings (0.5 sec)

  1. tests/fuzz/compare_fuzzer.go

    	if err != nil {
    		return m, err
    	}
    	noOfEntries := qty % maxNoEntries
    	if noOfEntries == 0 {
    		return m, errors.New("a map of zero-length was created")
    	}
    	for i := 0; i < noOfEntries; i++ {
    		k, err := f.GetString()
    		if err != nil {
    			return m, err
    		}
    		v, err := f.GetBytes()
    		if err != nil {
    			return m, err
    		}
    		m[k] = v
    	}
    	return m, nil
    }
    
    func FuzzCompareDiff(data []byte) int {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 20 06:17:08 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  2. src/internal/xcoff/file.go

    // It stops once it finds 0 or reaches end of b.
    func cstring(b []byte) string {
    	var i int
    	for i = 0; i < len(b) && b[i] != 0; i++ {
    	}
    	return string(b[:i])
    }
    
    // getString extracts a string from an XCOFF string table.
    func getString(st []byte, offset uint32) (string, bool) {
    	if offset < 4 || int(offset) >= len(st) {
    		return "", false
    	}
    	return cstring(st[offset:]), true
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 12 14:42:29 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorInjectDecoratedTest.groovy

            when:
            def obj = create(BeanWithParameterizedTypeService, services)
    
            then:
            obj.things == [12]
            obj.getThings() == [12]
            obj.getProperty("things") == [12]
    
            def returnType = obj.getClass().getDeclaredMethod("getThings").genericReturnType
            assert returnType instanceof ParameterizedType
            assert returnType.rawType == List.class
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/lang/FieldUtil.java

         * @throws IllegalAccessRuntimeException
         *             {@link IllegalAccessException}が発生した場合
         * @see #getString(Field, Object)
         */
        public static String getString(final Field field) throws IllegalAccessRuntimeException {
            assertArgumentNotNull("field", field);
    
            return getString(field, null);
        }
    
        /**
         * {@link Field}の値を {@link String}として取得します。
         *
         * @param field
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r16/CustomToolingModelCrossVersionSpec.groovy

    import org.gradle.tooling.provider.model.ToolingModelBuilder
    import javax.inject.Inject
    
    apply plugin: CustomPlugin
    
    class CustomModel implements Serializable {
        String getValue() { 'greetings' }
        Set<CustomThing> getThings() { return [new CustomThing()] }
        Map<String, CustomThing> getThingsByName() { return [thing: new CustomThing()] }
    }
    class CustomThing implements Serializable {
    }
    class CustomBuilder implements ToolingModelBuilder {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r30/CustomToolingModelCrossVersionSpec.groovy

    }
    
    class CustomModel implements Serializable {
        static final INSTANCE = new CustomThing()
        String getValue() { 'greetings' }
        CustomThing getThing() { return INSTANCE }
        Set<CustomThing> getThings() { return [INSTANCE] }
        Map<String, CustomThing> getThingsByName() { return [child: INSTANCE] }
        CustomThing findThing(String name) { return INSTANCE }
    }
    
    class CustomThing implements Serializable {
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/TestCharSink.java

      private final TestByteSink byteSink;
    
      public TestCharSink(TestOption... options) {
        this.byteSink = new TestByteSink(options);
      }
    
      public String getString() {
        return new String(byteSink.getBytes(), UTF_8);
      }
    
      @Override
      public boolean wasStreamOpened() {
        return byteSink.wasStreamOpened();
      }
    
      @Override
      public boolean wasStreamClosed() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Apr 21 02:27:51 UTC 2017
    - 2K bytes
    - Viewed (0)
  8. .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)
  9. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/options/OptionReaderTest.groovy

        public static class TestClass4 {
            @Option(option = 'stringValue', description = "string value")
            public void setStrings(String value1, String value2) {
            }
        }
    
        public static class TestClass5 {
            @Option(option = 'fileValue', description = "file value")
            public void setStrings(File file) {
            }
        }
    
        public static class TestClassWithOptionNameClashing {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 10 12:45:01 UTC 2023
    - 33.4K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractorTest.java

                                // item is not form field.
                            } else {
                                String name = item.getFieldName();
                                String value = item.getString();
                                response.getWriter().write(name + "," + value);
                            }
                        }
                    } catch (FileUploadException e) {
                        e.printStackTrace();
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top