Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 257 for Raw (0.01 sec)

  1. compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java

            assertEquals("apple, banana, pear, cantaloupe, watermelon, kiwi, mango", o23);
            List<String> raw = props.getRaw("fruits");
            assertNotNull(raw);
            assertEquals(3, (Object) raw.size());
            assertEquals("fruits                           apple, banana, pear, ", raw.get(0));
    
            props = new MavenProperties();
            props.put(
                    "fruits",
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java

            SimpleProblemCollector result = validateRaw("raw-model/self-referencing-classifier.xml");
    
            assertViolations(result, 0, 0, 0);
        }
    
        @Test
        void testCiFriendlySha1() throws Exception {
            SimpleProblemCollector result = validateRaw("raw-model/ok-ci-friendly-sha1.xml");
            assertViolations(result, 0, 0, 0);
        }
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  3. tests/named_argument_test.go

    	var result5 NamedUser
    	if err := DB.Raw("SELECT * FROM named_users WHERE (name1 = @name AND name3 = @name) AND name2 = @name2", map[string]interface{}{"name": "jinzhu-new", "name2": "jinzhu-new2"}).Find(&result5).Error; err != nil {
    		t.Errorf("failed to update with named arg")
    	}
    
    	AssertEqual(t, result5, namedUser)
    
    	var result6 NamedUser
    	if err := DB.Raw(`SELECT * FROM named_users WHERE (name1 = @name
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Dec 21 11:50:00 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  4. common-protos/k8s.io/apimachinery/pkg/runtime/generated.proto

    //
    // +k8s:deepcopy-gen=true
    // +protobuf=true
    // +k8s:openapi-gen=true
    message RawExtension {
      // Raw is the underlying serialization of this object.
      //
      // TODO: Determine how to detect ContentType and ContentEncoding of 'Raw' data.
      optional bytes raw = 1;
    }
    
    // TypeMeta is shared by all top level objects. The proper way to use it is to inline it in your type,
    // like this:
    //
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. internal/store/queuestore.go

    func (store *QueueStore[I]) GetRaw(key Key) (raw []byte, err error) {
    	store.RLock()
    
    	defer func(store *QueueStore[I]) {
    		store.RUnlock()
    		if err != nil && !os.IsNotExist(err) {
    			// Upon error we remove the entry.
    			store.Del(key)
    		}
    	}(store)
    
    	raw, err = os.ReadFile(filepath.Join(store.directory, key.String()))
    	if err != nil {
    		return
    	}
    
    	if len(raw) == 0 {
    		return raw, os.ErrNotExist
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

            Hashing.hmacSha1(keyData).toString());
    
        assertEquals(
            "Hashing.hmacSha256(Key[algorithm=HmacSHA256, format=RAW])",
            Hashing.hmacSha256(SHA256_KEY).toString());
        assertEquals(
            "Hashing.hmacSha256(Key[algorithm=HmacSHA256, format=RAW])",
            Hashing.hmacSha256(keyData).toString());
    
        assertEquals(
            "Hashing.hmacSha512(Key[algorithm=HmacSHA512, format=RAW])",
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java

      private Iterable<String> components;
    
      @BeforeExperiment
      void setUp() {
        String component = Strings.repeat("a", componentLength);
        String[] raw = new String[count];
        Arrays.fill(raw, component);
        components = Arrays.asList(raw);
      }
    
      /** {@link Joiner} with a string delimiter. */
      @Benchmark
      int joinerWithStringDelimiter(int reps) {
        int dummy = 0;
        for (int i = 0; i < reps; i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/ntlmssp/av/AvSingleHost.java

    import jcifs.internal.util.SMBUtil;
    
    
    /**
     * @author mbechler
     *
     */
    public class AvSingleHost extends AvPair {
    
        /**
         * @param raw
         */
        public AvSingleHost ( byte[] raw ) {
            super(AvPair.MsvAvSingleHost, raw);
        }
    
    
        /**
         * 
         * @param cfg
         */
        public AvSingleHost ( Configuration cfg ) {
            this(new byte[8], cfg.getMachineId());
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.7K bytes
    - Viewed (0)
  9. tests/benchmark_test.go

    	b.ResetTimer()
    	for x := 0; x < b.N; x++ {
    		DB.Raw("select * from users where id = ?", user.ID).Scan(&u)
    	}
    }
    
    func BenchmarkScanSlice(b *testing.B) {
    	DB.Exec("delete from users")
    	for i := 0; i < 10_000; i++ {
    		user := *GetUser(fmt.Sprintf("scan-%d", i), Config{})
    		DB.Create(&user)
    	}
    
    	var u []User
    	b.ResetTimer()
    	for x := 0; x < b.N; x++ {
    		DB.Raw("select * from users").Scan(&u)
    	}
    }
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 01 03:50:57 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/ntlmssp/av/AvTargetName.java

    public class AvTargetName extends AvPair {
    
        /**
         * 
         */
        private static final Charset UTF16LE = StandardCharsets.UTF_16LE;
    
    
        /**
         * @param raw
         */
        public AvTargetName ( byte[] raw ) {
            super(AvPair.MsvAvTargetName, raw);
        }
    
    
        /**
         * 
         * @param targetName
         */
        public AvTargetName ( String targetName ) {
            this(encode(targetName));
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.6K bytes
    - Viewed (0)
Back to top