Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3651 - 3660 of 4,250 for inst (0.21 seconds)

  1. guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

      }
    
      public void testAddAllPrimitiveIntStream() {
        StatsAccumulator accumulator = new StatsAccumulator();
        accumulator.addAll(megaPrimitiveDoubleStreamPart1().mapToInt(x -> (int) x));
        accumulator.addAll(megaPrimitiveDoubleStreamPart2().mapToInt(x -> (int) x));
        assertThat(accumulator.count()).isEqualTo(MEGA_STREAM_COUNT);
        assertThat(accumulator.mean()).isWithin(ALLOWED_ERROR * MEGA_STREAM_COUNT).of(MEGA_STREAM_MEAN);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 37.1K bytes
    - Click Count (0)
  2. internal/kms/context.go

    		// but don't work in JSONP, which has to be evaluated as JavaScript,
    		// and can lead to security holes there. It is valid JSON to
    		// escape them, so we do so unconditionally.
    		// See http://timelessrepo.com/json-isnt-a-javascript-subset for discussion.
    		if c == '\u2028' || c == '\u2029' {
    			if start < i {
    				dst.WriteString(s[start:i])
    			}
    			dst.WriteString(`\u202`)
    			dst.WriteByte(hexTable[c&0xF])
    			i += size
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 6K bytes
    - Click Count (0)
  3. .teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt

                }
            }
        }
    
        private fun parallelize(
            subProjectTestClassTimes: List<SubprojectTestClassTime>,
            testCoverage: TestCoverage,
            parallelization: (Int) -> ParallelizationMethod,
        ): List<SmallSubprojectBucket> {
            // splitIntoBuckets() method expects us to split large element into N elements,
            // but we want to have a single bucket with N batches.
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Apr 10 15:09:32 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/ListAddAtIndexTester.java

    import java.lang.reflect.Method;
    import java.util.ConcurrentModificationException;
    import java.util.Iterator;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code add(int, Object)} operations on a list. Can't be invoked
     * directly; please see {@link com.google.common.collect.testing.ListTestSuiteBuilder}.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/reflect/AbstractInvocationHandlerTest.java

            return delegate.equals(that.delegate);
          } else {
            return false;
          }
        }
    
        @Override
        public int hashCode() {
          return delegate.hashCode();
        }
    
        @Override
        public String toString() {
          return "another arbitrary string";
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/core/zip/ZipFileUtil.java

         */
        public static String toZipFilePath(final URL zipUrl) {
            assertArgumentNotNull("zipUrl", zipUrl);
    
            final String urlString = zipUrl.getPath();
            final int pos = urlString.lastIndexOf('!');
            final String zipFilePath = urlString.substring(0, pos);
            final File zipFile = new File(URLUtil.decode(zipFilePath, "UTF8"));
            return FileUtil.getCanonicalPath(zipFile);
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  7. src/test/java/jcifs/pac/kerberos/KerberosPacAuthDataTest.java

                dos.writeInt(Integer.reverseBytes(16));
                dos.writeLong(Long.reverseBytes(300));
    
                // Add some padding
                for (int i = 0; i < 300; i++) {
                    dos.writeByte(0);
                }
    
                return baos.toByteArray();
            } catch (IOException e) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactFactoryRequest.java

                            && Objects.equals(extension, that.extension)
                            && Objects.equals(type, that.type);
                }
    
                @Override
                public int hashCode() {
                    return Objects.hash(groupId, artifactId, version, classifier, extension, type);
                }
    
                @Override
                public String toString() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  9. api/maven-api-plugin/src/main/mdo/lifecycle.mdo

            </field>
            <field xml.attribute="true">
              <name>priority</name>
              <required>false</required>
              <version>2.0.0+</version>
              <type>int</type>
              <defaultValue>0</defaultValue>
              <description>If specified, identifies a within phase prioritization of executions.</description>
            </field>
            <field>
              <name>executions</name>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun May 18 09:15:56 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  10. tests/chainable_api_test.go

    		Context:  context.Background(),
    		Vars:     make([]interface{}, 0),
    	}
    	db.Statement = stmt
    	return db
    }
    
    func TestChainableAPI(t *testing.T) {
    	db := newTestDB()
    
    	// Model
    	m := &struct{ ID int }{}
    	tx := db.Model(m)
    	if tx.Statement.Model != m {
    		t.Fatalf("Model not set, got %v", tx.Statement.Model)
    	}
    
    	// Table
    	tx = tx.Table("users")
    	if tx.Statement.Table != "users" {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Jan 31 08:39:40 GMT 2026
    - 3.9K bytes
    - Click Count (0)
Back to Top