Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1881 - 1890 of 2,345 for add (0.01 sec)

  1. src/bufio/example_test.go

    }
    
    // The simplest use of a Scanner, to read standard input as a set of lines.
    func ExampleScanner_lines() {
    	scanner := bufio.NewScanner(os.Stdin)
    	for scanner.Scan() {
    		fmt.Println(scanner.Text()) // Println will add back the final '\n'
    	}
    	if err := scanner.Err(); err != nil {
    		fmt.Fprintln(os.Stderr, "reading standard input:", err)
    	}
    }
    
    // Return the most recent call to Scan as a []byte.
    func ExampleScanner_Bytes() {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java

                        target.setLastModified(getFieldValue(fields.get("lastModified"), Long.class));
    
                        setId(target, searchHit.getId());
                        targetList.add(target);
                    }
                } catch (final Exception e) {
                    throw new OpenSearchAccessException("response: " + response, e);
                }
            }
            return targetList;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. src/cmd/api/api_test.go

    			w.Features()
    		}
    	}
    }
    
    var warmupCache = sync.OnceFunc(func() {
    	// Warm up the import cache in parallel.
    	var wg sync.WaitGroup
    	for _, context := range contexts {
    		context := context
    		wg.Add(1)
    		go func() {
    			defer wg.Done()
    			_ = NewWalker(context, filepath.Join(testenv.GOROOT(nil), "src"))
    		}()
    	}
    	wg.Wait()
    })
    
    func TestIssue21181(t *testing.T) {
    	if testing.Short() {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jan 04 17:31:12 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  4. cmd/background-newdisks-heal-ops.go

    	// ID of the current healing operation
    	HealID string
    
    	ItemsSkipped uint64
    	BytesSkipped uint64
    
    	RetryAttempts uint64
    
    	Finished bool // finished healing, whether with errors or not
    
    	// Add future tracking capabilities
    	// Be sure that they are included in toHealingDisk
    }
    
    // loadHealingTracker will load the healing tracker from the supplied disk.
    // The disk ID will be validated against the loaded one.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  5. internal/grid/muxclient.go

    	}
    	ch := make(chan Response, 1)
    	m.respMu.Lock()
    	if m.closed {
    		m.respMu.Unlock()
    		return nil, ErrDisconnected
    	}
    	m.respWait = ch
    	m.respMu.Unlock()
    	ctx := m.ctx
    
    	// Add deadline if none.
    	if msg.DeadlineMS == 0 {
    		msg.DeadlineMS = uint32(defaultSingleRequestTimeout / time.Millisecond)
    		var cancel context.CancelFunc
    		ctx, cancel = context.WithTimeout(ctx, defaultSingleRequestTimeout)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/FilesTest.java

            new LineProcessor<List<String>>() {
              List<String> collector = new ArrayList<>();
    
              @Override
              public boolean processLine(String line) {
                collector.add(line);
                return true;
              }
    
              @Override
              public List<String> getResult() {
                return collector;
              }
            };
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  7. istioctl/pkg/analyze/analyze.go

    			}
    
    			sa := local.NewIstiodAnalyzer(analyzers.AllCombined(),
    				resource.Namespace(selectedNamespace),
    				resource.Namespace(ctx.IstioNamespace()), nil)
    
    			// Check for suppressions and add them to our SourceAnalyzer
    			suppressions := make([]local.AnalysisSuppression, 0, len(suppress))
    			for _, s := range suppress {
    				parts := strings.Split(s, "=")
    				if len(parts) != 2 {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 31 06:53:50 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/user/cbean/cq/bs/BsRoleCQ.java

            if (functionsLambda != null) {
                functionsLambda.callback((cqLambda, scoreFunctionBuilder) -> {
                    RoleCQ cf = new RoleCQ();
                    cqLambda.callback(cf);
                    list.add(new FilterFunctionBuilder(cf.getQuery(), scoreFunctionBuilder));
                });
            }
            final FunctionScoreQueryBuilder builder = regFunctionScoreQ(cq.getQuery(), list);
            if (opLambda != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  9. README.md

    ### Translate In Your Language
    
    Fess is internationalized software.
    
    If you want to add labels/messages for your language, please translate properties file and then rename to fess\_\*\_[lang].properties.
    
    * [fess_label_en.properties](https://github.com/codelibs/fess/blob/master/src/main/resources/fess_label_en.properties)
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 07:19:47 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ListenableFuture.java

     * result. (If you want such access, you may prefer {@link Futures#addCallback
     * Futures.addCallback}.) Still, direct {@code addListener} calls are occasionally useful:
     *
     * <pre>{@code
     * final String name = ...;
     * inFlight.add(name);
     * ListenableFuture<Result> future = service.query(name);
     * future.addListener(new Runnable() {
     *   public void run() {
     *     processedCount.incrementAndGet();
     *     inFlight.remove(name);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 26 21:13:41 UTC 2023
    - 8K bytes
    - Viewed (0)
Back to top