Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 45 for T1 (0.01 sec)

  1. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

        for (int i = 0; i < SIZE; i++) {
          aa.set(i, (double) COUNTDOWN);
        }
        Counter c1 = new Counter(aa);
        Counter c2 = new Counter(aa);
        Thread t1 = newStartedThread(c1);
        Thread t2 = newStartedThread(c2);
        awaitTermination(t1);
        awaitTermination(t2);
        assertEquals(SIZE * COUNTDOWN, c1.counts + c2.counts);
      }
    
      /** a deserialized serialized array holds same values */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTreeConnection.java

         *
         * @param other
         * @return whether the connection refers to the same tree
         */
        public boolean isSame(final SmbTreeConnection other) {
            try (SmbTreeImpl t1 = getTree(); SmbTreeImpl t2 = other.getTree()) {
                return t1 == t2;
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java

            when(pipe.ensureTreeConnected()).thenReturn(tree);
            when(tree.acquire()).thenReturn(tree);
    
            // Act
            SmbTreeHandleInternal t1 = handle.ensureTreeConnected();
            SmbTreeHandleInternal t2 = handle.ensureTreeConnected();
    
            // Assert
            assertSame(tree, t1, "First acquire returns provided tree");
            assertSame(tree, t2, "Subsequent acquire returns same tree instance");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

            assertEquals("word2", result.get(2).getInput());
        }
    
        public void test_unescape() throws Exception {
            // Test with escaped characters (backslash sequences)
            String content = "test\\t1\n" + // escaped tab sequence
                    "test\\n2\n" + // escaped newline sequence
                    "test3\n"; // no escape
    
            // Write content to test file
            writeTestFile(content);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/job/ExecJobTest.java

            }
        }
    
        // Test concurrent modification of jvmOptions
        public void test_jvmOptions_concurrent() throws InterruptedException {
            CountDownLatch latch = new CountDownLatch(2);
    
            Thread t1 = new Thread(() -> {
                for (int i = 0; i < 100; i++) {
                    execJob.jvmOptions("-Xmx" + i + "m");
                }
                latch.countDown();
            });
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  6. tests/migrate_test.go

    	} else {
    		for _, t1 := range []string{"users", "accounts", "pets", "companies", "toys", "languages", "tools"} {
    			hasTable := false
    			for _, t2 := range tables {
    				if t2 == t1 {
    					hasTable = true
    					break
    				}
    			}
    			if !hasTable {
    				t.Fatalf("Failed to get table %v when GetTables", t1)
    			}
    		}
    	}
    
    	for _, m := range allModels {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Aug 20 04:51:17 UTC 2025
    - 65.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbFile.java

             */
    
            final SmbTransport t1 = tree.session.transport;
            final SmbTransport t2 = dest.tree.session.transport;
    
            if (t1.snd_buf_size < t2.snd_buf_size) {
                t2.snd_buf_size = t1.snd_buf_size;
            } else {
                t1.snd_buf_size = t2.snd_buf_size;
            }
    
            bsize = Math.min(t1.rcv_buf_size - 70, t1.snd_buf_size - 70);
            b = new byte[2][bsize];
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  8. src/cmd/cgo/doc.go

    constant. It can do this by reading object files. If cgo has decided
    that t1 is a type, v2 and v3 are variables or functions, and i4, i5
    are integer constants, u6 is an unsigned integer constant, and f7 and f8
    are float constants, and s9 and s10 are string constants, it generates:
    
    	<preamble>
    	__typeof__(t1) *__cgo__1;
    	__typeof__(v2) *__cgo__2;
    	__typeof__(v3) *__cgo__3;
    	__typeof__(i4) *__cgo__4;
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Dec 11 23:57:34 UTC 2024
    - 44K bytes
    - Viewed (0)
  9. doc/go_spec.html

    or of a type containing <code>T</code> as a component, directly or indirectly,
    if those containing types are only array or struct types.
    </p>
    
    <pre>
    // invalid array types
    type (
    	T1 [10]T1                 // element type of T1 is T1
    	T2 [10]struct{ f T2 }     // T2 contains T2 as component of a struct
    	T3 [10]T4                 // T3 contains T3 as component of a struct in T4
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue May 06 19:12:15 UTC 2025
    - 286.2K bytes
    - Viewed (0)
  10. cmd/server-main.go

    	if globalTrace.NumSubscribers(madmin.TraceBootstrap) == 0 {
    		return
    	}
    
    	globalTrace.Publish(info)
    }
    
    func initServerConfig(ctx context.Context, newObject ObjectLayer) error {
    	t1 := time.Now()
    
    	r := rand.New(rand.NewSource(time.Now().UnixNano()))
    
    	for {
    		select {
    		case <-ctx.Done():
    			// Retry was canceled successfully.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:18:36 UTC 2025
    - 35.9K bytes
    - Viewed (4)
Back to top