Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 261 - 270 of 350 for OP (0.01 seconds)

  1. guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

          ImmutableIntArray.Builder builder = ImmutableIntArray.builder(random.nextInt(20));
          AtomicInteger counter = new AtomicInteger(0);
          while (counter.get() < 1000) {
            BuilderOp op = BuilderOp.randomOp();
            op.doIt(builder, counter);
          }
          ImmutableIntArray iia = builder.build();
          for (int j = 0; j < iia.length(); j++) {
            assertThat(iia.get(j)).isEqualTo(j);
          }
        }
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  2. cmd/erasure-sets.go

    	Set  int    `json:"setId"`
    }
    
    func (op auditObjectOp) String() string {
    	// Flatten the auditObjectOp
    	return fmt.Sprintf("name=%s,pool=%d,set=%d", op.Name, op.Pool, op.Set)
    }
    
    // Add erasure set information to the current context
    func auditObjectErasureSet(ctx context.Context, api, object string, set *erasureObjects) {
    	if len(logger.AuditTargets()) == 0 {
    		return
    	}
    
    	op := auditObjectOp{
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 37K bytes
    - Click Count (1)
  3. guava-tests/test/com/google/common/math/LongMathTest.java

                a, b, "s^", saturatedCast(valueOf(a).pow(b)), LongMath.saturatedPow(a, b));
          }
        }
      }
    
      private void assertOperationEquals(long a, long b, String op, long expected, long actual) {
        if (expected != actual) {
          fail("Expected for " + a + " " + op + " " + b + " = " + expected + ", but got " + actual);
        }
      }
    
      // Depends on the correctness of BigIntegerMath.factorial.
      @GwtIncompatible // TODO
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 30 14:15:36 GMT 2025
    - 31.4K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

      }
    
      @Test
      public void removeEdge_antiparallelEdges() {
        assume().that(graphIsMutable()).isTrue();
    
        putEdge(N1, N2);
        putEdge(N2, N1); // no-op
    
        assertThat(graphAsMutableGraph.removeEdge(N1, N2)).isTrue();
        assertThat(graph.adjacentNodes(N1)).isEmpty();
        assertThat(graph.edges()).isEmpty();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Oct 06 20:14:55 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  5. src/test/java/jcifs/dcerpc/DcerpcHandleTest.java

            }
    
            @Test
            @DisplayName("Should handle send fragment operation")
            void testSendFragment() throws IOException {
                // When: Calling send fragment (no-op implementation)
                // Then: Should not throw exception
                assertDoesNotThrow(() -> handle.doSendFragment(new byte[10], 0, 10));
            }
    
            @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/Kerb5ContextTest.java

                assertTrue(ex.getMessage().contains("Context disposal failed"));
            }
    
            @Test
            @DisplayName("dispose with null context is no-op")
            void dispose_nullContext_noop() throws Exception {
                setPrivateField(ctx, "gssContext", null);
                assertDoesNotThrow(() -> ctx.dispose());
            }
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  7. tensorflow/c/c_api_function.cc

          output_tensors, output_names_vec, control_output_nodes,
          control_output_names_vec, description, &fdef);
      if (TF_GetCode(status) != TF_OK) {
        return nullptr;
      }
    
      // Dump the op creation stacktraces for debugging purpose.
      DEBUG_DATA_DUMPER()->DumpOpCreationStackTraces(
          fn_name, kDebugGroupOpStacktrace, "initial", &fn_body->graph);
    
      tensorflow::StackTracesMap stack_traces;
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 16:27:48 GMT 2024
    - 13.7K bytes
    - Click Count (0)
  8. internal/ioutil/ioutil.go

    	return &LimitWriter{w, skipBytes, limit}
    }
    
    type nopCloser struct {
    	io.Writer
    }
    
    func (nopCloser) Close() error { return nil }
    
    // NopCloser returns a WriteCloser with a no-op Close method wrapping
    // the provided Writer w.
    func NopCloser(w io.Writer) io.WriteCloser {
    	return nopCloser{w}
    }
    
    // SkipReader skips a given number of bytes and then returns all
    // remaining data.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/helper/CoordinatorHelperTest.java

            final AtomicInteger dispatchCount = new AtomicInteger(0);
            final CoordinatorHelper helper = new CoordinatorHelper() {
                @Override
                public void sendHeartbeat() {
                    // no-op
                }
    
                @Override
                protected List<EventInfo> fetchNewEvents() {
                    final EventInfo e1 = new EventInfo();
                    e1.name = "event1";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 58.6K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

          ImmutableIntArray.Builder builder = ImmutableIntArray.builder(random.nextInt(20));
          AtomicInteger counter = new AtomicInteger(0);
          while (counter.get() < 1000) {
            BuilderOp op = BuilderOp.randomOp();
            op.doIt(builder, counter);
          }
          ImmutableIntArray iia = builder.build();
          for (int j = 0; j < iia.length(); j++) {
            assertThat(iia.get(j)).isEqualTo(j);
          }
        }
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 20.2K bytes
    - Click Count (0)
Back to Top