Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for a123 (0.44 sec)

  1. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        setUp(parameters.first, parameters.second)
        val expectedByteCount = if (windows) 10L else 0L
        val afterRemoveFileContents = if (windows) "a1234" else null
    
        set("a", "a1234", "a1234")
        val a = cache.edit("a")!!
        a.setString(0, "a123")
        cache.maxSize = 8 // Smaller than the sum of active edits!
        cache.flush() // Force trimToSize().
        assertThat(cache.size()).isEqualTo(expectedByteCount)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 75.8K bytes
    - Viewed (0)
  2. src/bytes/bytes_test.go

    	{faces, "~", -1, []string{faces}},
    	{faces, "", -1, []string{"☺", "☻", "☹"}},
    	{"1 2 3 4", " ", 3, []string{"1 ", "2 ", "3 4"}},
    	{"1 2 3", " ", 3, []string{"1 ", "2 ", "3"}},
    	{"1 2", " ", 3, []string{"1 ", "2"}},
    	{"123", "", 2, []string{"1", "23"}},
    	{"123", "", 17, []string{"1", "2", "3"}},
    }
    
    func TestSplitAfter(t *testing.T) {
    	for _, tt := range splitaftertests {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  3. src/bufio/bufio_test.go

    }
    
    // Test for golang.org/issue/7611
    func TestWriterReadFromUntilEOF(t *testing.T) {
    	buf := new(bytes.Buffer)
    	w := NewWriterSize(buf, 5)
    
    	// Partially fill buffer
    	n, err := w.Write([]byte("0123"))
    	if n != 4 || err != nil {
    		t.Fatalf("Write returned (%v, %v), want (4, nil)", n, err)
    	}
    
    	// Use ReadFrom to read in some data.
    	r := &emptyThenNonEmptyReader{r: strings.NewReader("abcd"), n: 3}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  4. tests/migrate_test.go

    	AssertEqual(t, true, ok)
    
    	//  empty string -> 123
    	err = DB.Table("unique_tests").AutoMigrate(&UniqueTest4{})
    	if err != nil {
    		t.Fatalf("AutoMigrate err:%v", err)
    	}
    
    	ct, err = findColumnType(&UniqueTest{}, "name")
    	if err != nil {
    		t.Fatalf("findColumnType err:%v", err)
    	}
    
    	value, ok = ct.DefaultValue()
    	AssertEqual(t, "123", value)
    	AssertEqual(t, true, ok)
    
    	//  123 -> null
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Mar 18 11:24:16 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  5. maven-core/src/site/resources/design/2.1-lifecycle-refactor.graffle

    {\colortbl;\red255\green255\blue255;} \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc \f0\b\fs24 \cf0 \ul \ulc0 LifecycleExecutor}ID1GridInfoHPages2Is 1PrintYESViewYESLayo 1Orientation2Outline 2UniqueID2VPages2Sma{{6, 123}, {956, 590}}ShowRulerfalseShowSt{{-94, 0}, {941, 476}}Zoom1...
    Others
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Mar 11 17:19:02 GMT 2017
    - 96.7K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_function_test.cc

       *                 v     v
       *                   add
       *                    |
       *                    |
       *                    v
       */
      // Define
      TF_Tensor* tensor_123 = Int32Tensor({1, 2, 3});
      TF_Operation* c = Const(tensor_123, func_graph_, s_, "const_array");
      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
      TF_Operation* split = Split3(c, func_graph_, s_);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
  7. cmd/sts-handlers_test.go

       ]
      }
     ]
    }`)
    	err = s.adm.AddCannedPolicy(ctx, policy, policyBytes)
    	if err != nil {
    		c.Fatalf("policy add error: %v", err)
    	}
    
    	if err = s.adm.AddUser(ctx, "dillon", "dillon-123"); err != nil {
    		c.Fatalf("policy add error: %v", err)
    	}
    
    	err = s.adm.SetPolicy(ctx, policy, "dillon", false)
    	if err != nil {
    		c.Fatalf("Unable to set policy: %v", err)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/MapsTest.java

            new Properties() {
              @Override
              public Enumeration<?> propertyNames() {
                return Iterators.asEnumeration(
                    Arrays.<Object>asList(Integer.valueOf(123), "first").iterator());
              }
            };
    
        try {
          Maps.fromProperties(properties);
          fail();
        } catch (ClassCastException expected) {
        }
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/MapsTest.java

            new Properties() {
              @Override
              public Enumeration<?> propertyNames() {
                return Iterators.asEnumeration(
                    Arrays.<Object>asList(Integer.valueOf(123), "first").iterator());
              }
            };
    
        try {
          Maps.fromProperties(properties);
          fail();
        } catch (ClassCastException expected) {
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
  10. cmd/xl-storage_test.go

    	}{
    		// Cases which should pass the test.
    		// passing in valid bucket names.
    		{"lol", true},
    		{"1-this-is-valid", true},
    		{"1-this-too-is-valid-1", true},
    		{"this.works.too.1", true},
    		{"1234567", true},
    		{"123", true},
    		{"s3-eu-west-1.amazonaws.com", true},
    		{"ideas-are-more-powerful-than-guns", true},
    		{"testbucket", true},
    		{"1bucket", true},
    		{"bucket1", true},
    		{"$this-is-not-valid-too", true},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
Back to top