Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 601 - 610 of 1,076 for _append (0.36 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. guava-testlib/src/com/google/common/testing/GcFinalization.java

     *   <li>enqueuing weak references to unreachable referents in their reference queue
     * </ul>
     *
     * <p>This class uses (possibly repeated) invocations of {@link java.lang.System#gc()} to cause
     * finalization to happen. However, a call to {@code System.gc()} is specified to be no more than a
     * hint, so this technique may fail at the whim of the JDK implementation, for example if a user
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 20:19:19 GMT 2026
    - 12.3K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java

                    final char ch = s.charAt(i);
                    if (ch == '\\' && i < s.length() - 1) {
                        i++;
                        sb.append(s.charAt(i));
                    } else {
                        sb.append(ch);
                    }
                }
                return sb.toString();
            }
            return s;
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 13K bytes
    - Click Count (0)
  3. tests/test_response_dependency.py

        """BackgroundTasks type hint should work with Annotated[BackgroundTasks, Depends(...)]."""
        app = FastAPI()
        task_results = []
    
        def background_task(message: str):
            task_results.append(message)
    
        def add_background_task(background_tasks: BackgroundTasks) -> BackgroundTasks:
            background_tasks.add_task(background_task, "from dependency")
            return background_tasks
    
        @app.get("/")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 05 18:23:16 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  4. src/cmd/asm/internal/lex/lex.go

    func Tokenize(str string) []Token {
    	t := NewTokenizer("command line", strings.NewReader(str), nil)
    	var tokens []Token
    	for {
    		tok := t.Next()
    		if tok == scanner.EOF {
    			break
    		}
    		tokens = append(tokens, Make(tok, t.Text()))
    	}
    	return tokens
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 4.1K bytes
    - Click Count (0)
  5. cmd/metacache-walk.go

    							return err
    						}
    						continue
    					}
    				}
    
    				// NOT an object, append to stack (with slash)
    				// If dirObject, but no metadata (which is unexpected) we skip it.
    				if !isDirObj {
    					if !isDirEmpty(pathJoinBuf(sb, volumeDir, meta.name), legacyFS) {
    						dirStack = append(dirStack, meta.name+slashSeparator)
    					}
    				}
    			case isSysErrNotDir(err):
    				// skip
    			}
    		}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon May 26 07:06:43 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  6. internal/store/batch.go

    	b.Lock()
    	defer b.Unlock()
    
    	if b.isFull() {
    		if b.store == nil {
    			return ErrBatchFull
    		}
    		// commit batch to store
    		if err := b.commit(); err != nil {
    			return err
    		}
    	}
    
    	b.items = append(b.items, item)
    	return nil
    }
    
    // Len returns the no of items in the batch
    func (b *Batch[_]) Len() int {
    	b.Lock()
    	defer b.Unlock()
    
    	return len(b.items)
    }
    
    func (b *Batch[_]) isFull() bool {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Sep 06 23:06:30 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  7. misc/ios/detect.go

    		matches := 0
    		for _, udid := range udids {
    			for _, xmlLine := range xmlLines {
    				if bytes.Contains(xmlLine, udid) {
    					matches++
    				}
    			}
    		}
    		if matches == len(udids) {
    			files = append(files, string(line))
    		}
    	}
    	return files
    }
    
    func parseMobileProvision(fname string) *exec.Cmd {
    	return exec.Command("security", "cms", "-D", "-i", string(fname))
    }
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Oct 19 23:33:30 GMT 2023
    - 3.2K bytes
    - Click Count (0)
  8. src/cmd/asm/internal/asm/pseudo_test.go

    	"strings"
    	"testing"
    
    	"cmd/asm/internal/lex"
    )
    
    func tokenize(s string) [][]lex.Token {
    	res := [][]lex.Token{}
    	if len(s) == 0 {
    		return res
    	}
    	for _, o := range strings.Split(s, ",") {
    		res = append(res, lex.Tokenize(o))
    	}
    	return res
    }
    
    func TestErroneous(t *testing.T) {
    
    	type errtest struct {
    		pseudo   string
    		operands string
    		expected string
    	}
    
    	nonRuntimeTests := []errtest{
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 3.1K bytes
    - Click Count (0)
  9. cmd/os_unix.go

    		if typ.IsRegular() {
    			nameStr = string(name)
    		} else if typ.IsDir() {
    			// Use temp buffer to append a slash to avoid string concat.
    			tmp = tmp[:len(name)+1]
    			copy(tmp, name)
    			tmp[len(tmp)-1] = '/' // SlashSeparator
    			nameStr = string(tmp)
    		}
    
    		count--
    		entries = append(entries, nameStr)
    	}
    
    	return entries, err
    }
    
    func globalSync() {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  10. internal/http/listener_test.go

    	}
    }
    
    func TestHTTPListenerAddr(t *testing.T) {
    	if runtime.GOOS == "windows" {
    		t.Skip()
    	}
    
    	nonLoopBackIP := getNonLoopBackIP(t)
    	var casePorts []string
    	for range 6 {
    		casePorts = append(casePorts, getNextPort())
    	}
    
    	testCases := []struct {
    		serverAddrs  []string
    		expectedAddr string
    	}{
    		{[]string{"localhost:" + casePorts[0]}, "127.0.0.1:" + casePorts[0]},
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 11.8K bytes
    - Click Count (0)
Back to Top