Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1421 - 1430 of 1,709 for result2 (0.09 seconds)

  1. src/bytes/buffer.go

    // The slice aliases the buffer content at least until the next buffer modification,
    // so immediate changes to the slice will affect the result of future reads.
    func (b *Buffer) Bytes() []byte { return b.buf[b.off:] }
    
    // AvailableBuffer returns an empty buffer with b.Available() capacity.
    // This buffer is intended to be appended to and
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Nov 14 19:01:17 GMT 2025
    - 16.5K bytes
    - Click Count (0)
  2. internal/ringbuffer/ring_buffer_test.go

    		if writeErr != ErrWriteOnClosed {
    			t.Errorf("got: %q; want: %q", writeErr, ErrWriteOnClosed)
    		} else {
    			t.Log("ok")
    		}
    	}
    	result := string(buf[0:n])
    	if result != "hello" {
    		t.Errorf("got: %q; want: %q", result, "hello")
    	}
    }
    
    func timeout(after time.Duration) (cancel func()) {
    	c := time.After(after)
    	cc := make(chan struct{})
    	go func() {
    		select {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/relatedcontent/AdminRelatedcontentAction.java

        /**
         * Searches for related content items based on the provided search criteria.
         *
         * @param form the search form containing search criteria
         * @return HTML response with filtered related content results
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse search(final SearchForm form) {
            copyBeanToBean(form, relatedContentPager, op -> op.exclude(Constants.PAGER_CONVERSION_RULE));
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 15.5K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/Queues.java

       *   Iterator<E> i = queue.iterator(); // Must be in synchronized block
       *   while (i.hasNext()) {
       *     foo(i.next());
       *   }
       * }
       * }
       *
       * <p>Failure to follow this advice may result in non-deterministic behavior.
       *
       * <p>The returned queue will be serializable if the specified queue is serializable.
       *
       * @param queue the queue to be wrapped in a synchronized view
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Nov 04 17:24:58 GMT 2025
    - 18K bytes
    - Click Count (0)
  5. cmd/admin-handlers-site-replication.go

    	duration, _ := time.ParseDuration(durationStr)
    	if duration < globalNetPerfMinDuration {
    		duration = globalNetPerfMinDuration
    	}
    	result := siteNetperf(r.Context(), duration)
    	adminLogIf(r.Context(), gob.NewEncoder(w).Encode(result))
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/HandlerTest.java

            URL url = new URL(null, "smb://server/share", handler);
    
            // Act & Assert
            assertThrows(NullPointerException.class, () -> handler.parseURL(url, null, 0, 0),
                    "Null spec should result in NPE via super.parseURL");
        }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/cache/CacheBuilderFactory.java

       * method wraps the elements in the input sets (which may contain null) as Optionals, calls
       * Sets.cartesianProduct with those, then transforms the result to unwrap the Optionals.
       */
      private Iterable<List<Object>> buildCartesianProduct(Set<?>... sets) {
        List<Set<Optional<?>>> optionalSets = Lists.newArrayListWithExpectedSize(sets.length);
        for (Set<?> set : sets) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  8. internal/ioutil/ioutil_test.go

    		b, err := io.ReadAll(r)
    		if err != nil {
    			t.Errorf("Case %d: Unexpected err %v", i, err)
    		}
    		if string(b) != testCase.expected {
    			t.Errorf("Case %d: Got wrong result: %v", i, string(b))
    		}
    	}
    }
    
    func TestSameFile(t *testing.T) {
    	f, err := os.CreateTemp(t.TempDir(), "")
    	if err != nil {
    		t.Errorf("Error creating tmp file: %v", err)
    	}
    	tmpFile := f.Name()
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        int result = 0;
        for (Segment<K, V, ?, ?> segment : map.segments) {
          AtomicReferenceArray<? extends InternalEntry<K, V, ?>> table = segment.table;
          for (int i = 0; i < table.length(); i++) {
            for (InternalEntry<K, V, ?> e = table.get(i); e != null; e = e.getNext()) {
              if (map.isLiveForTesting(e)) {
                result++;
              }
            }
          }
        }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:07:52 GMT 2025
    - 35.5K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        int result = 0;
        for (Segment<K, V, ?, ?> segment : map.segments) {
          AtomicReferenceArray<? extends InternalEntry<K, V, ?>> table = segment.table;
          for (int i = 0; i < table.length(); i++) {
            for (InternalEntry<K, V, ?> e = table.get(i); e != null; e = e.getNext()) {
              if (map.isLiveForTesting(e)) {
                result++;
              }
            }
          }
        }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:07:52 GMT 2025
    - 35.5K bytes
    - Click Count (0)
Back to Top